From 02b7e2b048fe6058d5f66186b1fab74b0075797b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 10 Aug 2023 21:02:41 +0000 Subject: [PATCH 1/2] docs: Add link to documentation for ReportConfig proto fields PiperOrigin-RevId: 555577242 Source-Link: https://github.com/googleapis/googleapis/commit/b691174abb7190d187238b62d57996b67a0da7c0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/3dea718c2ec1e14416603709d3cf72c0d691b1d1 Copy-Tag: eyJwIjoiamF2YS1zdG9yYWdlaW5zaWdodHMvLk93bEJvdC55YW1sIiwiaCI6IjNkZWE3MThjMmVjMWUxNDQxNjYwMzcwOWQzY2Y3MmMwZDY5MWIxZDEifQ== --- .../v1/StorageInsightsGrpc.java | 1101 ------------- .../v1/CloudStorageFiltersOrBuilder.java | 50 - .../v1/GetReportConfigRequestOrBuilder.java | 54 - .../v1/GetReportDetailRequestOrBuilder.java | 54 - .../v1/ParquetOptionsOrBuilder.java | 24 - .../cloud/storageinsights/v1/V1Proto.java | 511 ------ .../v1/StorageInsightsClient.java | 0 .../v1/StorageInsightsSettings.java | 1 + .../storageinsights/v1/gapic_metadata.json | 0 .../storageinsights/v1/package-info.java | 0 .../GrpcStorageInsightsCallableFactory.java | 0 .../v1/stub/GrpcStorageInsightsStub.java | 1 + ...ttpJsonStorageInsightsCallableFactory.java | 0 .../v1/stub/HttpJsonStorageInsightsStub.java | 0 .../v1/stub/StorageInsightsStub.java | 0 .../v1/stub/StorageInsightsStubSettings.java | 0 .../reflect-config.json | 0 .../storageinsights/v1/MockLocations.java | 0 .../storageinsights/v1/MockLocationsImpl.java | 0 .../v1/MockStorageInsights.java | 0 .../v1/MockStorageInsightsImpl.java | 0 .../v1/StorageInsightsClientHttpJsonTest.java | 0 .../v1/StorageInsightsClientTest.java | 0 .../v1/StorageInsightsGrpc.java | 839 ++++++++++ .../cloud/storageinsights/v1/CSVOptions.java | 418 ++--- .../v1/CSVOptionsOrBuilder.java | 39 +- .../v1/CloudStorageDestinationOptions.java | 432 ++--- ...oudStorageDestinationOptionsOrBuilder.java | 36 +- .../v1/CloudStorageFilters.java | 322 ++-- .../v1/CloudStorageFiltersOrBuilder.java | 29 + .../v1/CreateReportConfigRequest.java | 576 +++---- .../CreateReportConfigRequestOrBuilder.java | 64 +- .../v1/DeleteReportConfigRequest.java | 466 +++--- .../DeleteReportConfigRequestOrBuilder.java | 47 +- .../storageinsights/v1/FrequencyOptions.java | 538 +++--- .../v1/FrequencyOptionsOrBuilder.java | 40 +- .../v1/GetReportConfigRequest.java | 350 ++-- .../v1/GetReportConfigRequestOrBuilder.java | 29 + .../v1/GetReportDetailRequest.java | 350 ++-- .../v1/GetReportDetailRequestOrBuilder.java | 29 + .../v1/ListReportConfigsRequest.java | 609 +++---- .../v1/ListReportConfigsRequestOrBuilder.java | 65 +- .../v1/ListReportConfigsResponse.java | 580 +++---- .../ListReportConfigsResponseOrBuilder.java | 63 +- .../v1/ListReportDetailsRequest.java | 609 +++---- .../v1/ListReportDetailsRequestOrBuilder.java | 65 +- .../v1/ListReportDetailsResponse.java | 580 +++---- .../ListReportDetailsResponseOrBuilder.java | 63 +- .../storageinsights/v1/LocationName.java | 0 .../v1/ObjectMetadataReportOptions.java | 763 +++------ .../ObjectMetadataReportOptionsOrBuilder.java | 70 +- .../storageinsights/v1/OperationMetadata.java | 827 ++++------ .../v1/OperationMetadataOrBuilder.java | 91 +- .../storageinsights/v1/ParquetOptions.java | 245 ++- .../v1/ParquetOptionsOrBuilder.java | 9 + .../storageinsights/v1/ReportConfig.java | 1462 ++++++----------- .../storageinsights/v1/ReportConfigName.java | 0 .../v1/ReportConfigOrBuilder.java | 147 +- .../storageinsights/v1/ReportDetail.java | 1334 ++++++--------- .../storageinsights/v1/ReportDetailName.java | 0 .../v1/ReportDetailOrBuilder.java | 101 +- .../v1/UpdateReportConfigRequest.java | 601 +++---- .../UpdateReportConfigRequestOrBuilder.java | 64 +- .../cloud/storageinsights/v1/V1Proto.java | 445 +++++ .../storageinsights/v1/storageinsights.proto | 3 + .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateReportConfig.java | 0 .../SyncCreateReportConfig.java | 0 ...eReportConfigLocationnameReportconfig.java | 0 ...cCreateReportConfigStringReportconfig.java | 0 .../AsyncDeleteReportConfig.java | 0 .../SyncDeleteReportConfig.java | 0 ...yncDeleteReportConfigReportconfigname.java | 0 .../SyncDeleteReportConfigString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../getreportconfig/AsyncGetReportConfig.java | 0 .../getreportconfig/SyncGetReportConfig.java | 0 .../SyncGetReportConfigReportconfigname.java | 0 .../SyncGetReportConfigString.java | 0 .../getreportdetail/AsyncGetReportDetail.java | 0 .../getreportdetail/SyncGetReportDetail.java | 0 .../SyncGetReportDetailReportdetailname.java | 0 .../SyncGetReportDetailString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListReportConfigs.java | 0 .../AsyncListReportConfigsPaged.java | 0 .../SyncListReportConfigs.java | 0 .../SyncListReportConfigsLocationname.java | 0 .../SyncListReportConfigsString.java | 0 .../AsyncListReportDetails.java | 0 .../AsyncListReportDetailsPaged.java | 0 .../SyncListReportDetails.java | 0 ...SyncListReportDetailsReportconfigname.java | 0 .../SyncListReportDetailsString.java | 0 .../AsyncUpdateReportConfig.java | 0 .../SyncUpdateReportConfig.java | 0 ...dateReportConfigReportconfigFieldmask.java | 0 .../getreportconfig/SyncGetReportConfig.java | 0 .../getreportconfig/SyncGetReportConfig.java | 0 104 files changed, 5828 insertions(+), 9368 deletions(-) delete mode 100644 java-storageinsights/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java delete mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java delete mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java delete mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java delete mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java delete mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java (99%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java (99%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java (100%) create mode 100644 owl-bot-staging/java-storageinsights/v1/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java (68%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java (59%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java (63%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java (56%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java (65%) create mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java (66%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java (66%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java (70%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java (71%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java (71%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java (75%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java (61%) create mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java (61%) create mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java (67%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java (60%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java (72%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java (72%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java (67%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java (60%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java (72%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java (72%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java (64%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java (66%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java (70%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java (75%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java (61%) create mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java (66%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java (74%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java (70%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java (81%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java (70%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto (99%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java (100%) rename {java-storageinsights => owl-bot-staging/java-storageinsights/v1}/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java (100%) diff --git a/java-storageinsights/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java b/java-storageinsights/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java deleted file mode 100644 index 1ef61e7f618a..000000000000 --- a/java-storageinsights/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java +++ /dev/null @@ -1,1101 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.storageinsights.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service describing handlers for resources
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/storageinsights/v1/storageinsights.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class StorageInsightsGrpc { - - private StorageInsightsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.storageinsights.v1.StorageInsights"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.ListReportConfigsRequest, - com.google.cloud.storageinsights.v1.ListReportConfigsResponse> - getListReportConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListReportConfigs", - requestType = com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, - responseType = com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.ListReportConfigsRequest, - com.google.cloud.storageinsights.v1.ListReportConfigsResponse> - getListReportConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.ListReportConfigsRequest, - com.google.cloud.storageinsights.v1.ListReportConfigsResponse> - getListReportConfigsMethod; - if ((getListReportConfigsMethod = StorageInsightsGrpc.getListReportConfigsMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getListReportConfigsMethod = StorageInsightsGrpc.getListReportConfigsMethod) == null) { - StorageInsightsGrpc.getListReportConfigsMethod = - getListReportConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReportConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageInsightsMethodDescriptorSupplier("ListReportConfigs")) - .build(); - } - } - } - return getListReportConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.GetReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getGetReportConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetReportConfig", - requestType = com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, - responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.GetReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getGetReportConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.GetReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getGetReportConfigMethod; - if ((getGetReportConfigMethod = StorageInsightsGrpc.getGetReportConfigMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getGetReportConfigMethod = StorageInsightsGrpc.getGetReportConfigMethod) == null) { - StorageInsightsGrpc.getGetReportConfigMethod = - getGetReportConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReportConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.GetReportConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ReportConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageInsightsMethodDescriptorSupplier("GetReportConfig")) - .build(); - } - } - } - return getGetReportConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.CreateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getCreateReportConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateReportConfig", - requestType = com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, - responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.CreateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getCreateReportConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.CreateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getCreateReportConfigMethod; - if ((getCreateReportConfigMethod = StorageInsightsGrpc.getCreateReportConfigMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getCreateReportConfigMethod = StorageInsightsGrpc.getCreateReportConfigMethod) - == null) { - StorageInsightsGrpc.getCreateReportConfigMethod = - getCreateReportConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReportConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ReportConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageInsightsMethodDescriptorSupplier("CreateReportConfig")) - .build(); - } - } - } - return getCreateReportConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getUpdateReportConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateReportConfig", - requestType = com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, - responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getUpdateReportConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig> - getUpdateReportConfigMethod; - if ((getUpdateReportConfigMethod = StorageInsightsGrpc.getUpdateReportConfigMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getUpdateReportConfigMethod = StorageInsightsGrpc.getUpdateReportConfigMethod) - == null) { - StorageInsightsGrpc.getUpdateReportConfigMethod = - getUpdateReportConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateReportConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ReportConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageInsightsMethodDescriptorSupplier("UpdateReportConfig")) - .build(); - } - } - } - return getUpdateReportConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, com.google.protobuf.Empty> - getDeleteReportConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteReportConfig", - requestType = com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, com.google.protobuf.Empty> - getDeleteReportConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, - com.google.protobuf.Empty> - getDeleteReportConfigMethod; - if ((getDeleteReportConfigMethod = StorageInsightsGrpc.getDeleteReportConfigMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getDeleteReportConfigMethod = StorageInsightsGrpc.getDeleteReportConfigMethod) - == null) { - StorageInsightsGrpc.getDeleteReportConfigMethod = - getDeleteReportConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteReportConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new StorageInsightsMethodDescriptorSupplier("DeleteReportConfig")) - .build(); - } - } - } - return getDeleteReportConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.ListReportDetailsRequest, - com.google.cloud.storageinsights.v1.ListReportDetailsResponse> - getListReportDetailsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListReportDetails", - requestType = com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, - responseType = com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.ListReportDetailsRequest, - com.google.cloud.storageinsights.v1.ListReportDetailsResponse> - getListReportDetailsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.ListReportDetailsRequest, - com.google.cloud.storageinsights.v1.ListReportDetailsResponse> - getListReportDetailsMethod; - if ((getListReportDetailsMethod = StorageInsightsGrpc.getListReportDetailsMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getListReportDetailsMethod = StorageInsightsGrpc.getListReportDetailsMethod) == null) { - StorageInsightsGrpc.getListReportDetailsMethod = - getListReportDetailsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReportDetails")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageInsightsMethodDescriptorSupplier("ListReportDetails")) - .build(); - } - } - } - return getListReportDetailsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.GetReportDetailRequest, - com.google.cloud.storageinsights.v1.ReportDetail> - getGetReportDetailMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetReportDetail", - requestType = com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, - responseType = com.google.cloud.storageinsights.v1.ReportDetail.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.GetReportDetailRequest, - com.google.cloud.storageinsights.v1.ReportDetail> - getGetReportDetailMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.storageinsights.v1.GetReportDetailRequest, - com.google.cloud.storageinsights.v1.ReportDetail> - getGetReportDetailMethod; - if ((getGetReportDetailMethod = StorageInsightsGrpc.getGetReportDetailMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getGetReportDetailMethod = StorageInsightsGrpc.getGetReportDetailMethod) == null) { - StorageInsightsGrpc.getGetReportDetailMethod = - getGetReportDetailMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReportDetail")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.GetReportDetailRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ReportDetail - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageInsightsMethodDescriptorSupplier("GetReportDetail")) - .build(); - } - } - } - return getGetReportDetailMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static StorageInsightsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageInsightsStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsStub(channel, callOptions); - } - }; - return StorageInsightsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static StorageInsightsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageInsightsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsBlockingStub(channel, callOptions); - } - }; - return StorageInsightsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static StorageInsightsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageInsightsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsFutureStub(channel, callOptions); - } - }; - return StorageInsightsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service describing handlers for resources
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Lists ReportConfigs in a given project and location.
-     * 
- */ - default void listReportConfigs( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListReportConfigsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single ReportConfig.
-     * 
- */ - default void getReportConfig( - com.google.cloud.storageinsights.v1.GetReportConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetReportConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new ReportConfig in a given project and location.
-     * 
- */ - default void createReportConfig( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateReportConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single ReportConfig.
-     * 
- */ - default void updateReportConfig( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateReportConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single ReportConfig.
-     * 
- */ - default void deleteReportConfig( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteReportConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists ReportDetails in a given project and location.
-     * 
- */ - default void listReportDetails( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListReportDetailsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single ReportDetail.
-     * 
- */ - default void getReportDetail( - com.google.cloud.storageinsights.v1.GetReportDetailRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetReportDetailMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service StorageInsights. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public abstract static class StorageInsightsImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return StorageInsightsGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service StorageInsights. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class StorageInsightsStub - extends io.grpc.stub.AbstractAsyncStub { - private StorageInsightsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageInsightsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists ReportConfigs in a given project and location.
-     * 
- */ - public void listReportConfigs( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListReportConfigsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single ReportConfig.
-     * 
- */ - public void getReportConfig( - com.google.cloud.storageinsights.v1.GetReportConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetReportConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new ReportConfig in a given project and location.
-     * 
- */ - public void createReportConfig( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateReportConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single ReportConfig.
-     * 
- */ - public void updateReportConfig( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateReportConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single ReportConfig.
-     * 
- */ - public void deleteReportConfig( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteReportConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists ReportDetails in a given project and location.
-     * 
- */ - public void listReportDetails( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListReportDetailsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single ReportDetail.
-     * 
- */ - public void getReportDetail( - com.google.cloud.storageinsights.v1.GetReportDetailRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetReportDetailMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service StorageInsights. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class StorageInsightsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private StorageInsightsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageInsightsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists ReportConfigs in a given project and location.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ListReportConfigsResponse listReportConfigs( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListReportConfigsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single ReportConfig.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig( - com.google.cloud.storageinsights.v1.GetReportConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetReportConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new ReportConfig in a given project and location.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ReportConfig createReportConfig( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateReportConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single ReportConfig.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ReportConfig updateReportConfig( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateReportConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single ReportConfig.
-     * 
- */ - public com.google.protobuf.Empty deleteReportConfig( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteReportConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists ReportDetails in a given project and location.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ListReportDetailsResponse listReportDetails( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListReportDetailsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single ReportDetail.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ReportDetail getReportDetail( - com.google.cloud.storageinsights.v1.GetReportDetailRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetReportDetailMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service StorageInsights. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class StorageInsightsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private StorageInsightsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageInsightsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists ReportConfigs in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.storageinsights.v1.ListReportConfigsResponse> - listReportConfigs(com.google.cloud.storageinsights.v1.ListReportConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListReportConfigsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single ReportConfig.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.storageinsights.v1.ReportConfig> - getReportConfig(com.google.cloud.storageinsights.v1.GetReportConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetReportConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new ReportConfig in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.storageinsights.v1.ReportConfig> - createReportConfig(com.google.cloud.storageinsights.v1.CreateReportConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateReportConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single ReportConfig.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.storageinsights.v1.ReportConfig> - updateReportConfig(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateReportConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single ReportConfig.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteReportConfig(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteReportConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists ReportDetails in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.storageinsights.v1.ListReportDetailsResponse> - listReportDetails(com.google.cloud.storageinsights.v1.ListReportDetailsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListReportDetailsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single ReportDetail.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.storageinsights.v1.ReportDetail> - getReportDetail(com.google.cloud.storageinsights.v1.GetReportDetailRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetReportDetailMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_REPORT_CONFIGS = 0; - private static final int METHODID_GET_REPORT_CONFIG = 1; - private static final int METHODID_CREATE_REPORT_CONFIG = 2; - private static final int METHODID_UPDATE_REPORT_CONFIG = 3; - private static final int METHODID_DELETE_REPORT_CONFIG = 4; - private static final int METHODID_LIST_REPORT_DETAILS = 5; - private static final int METHODID_GET_REPORT_DETAIL = 6; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService 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_LIST_REPORT_CONFIGS: - serviceImpl.listReportConfigs( - (com.google.cloud.storageinsights.v1.ListReportConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.storageinsights.v1.ListReportConfigsResponse>) - responseObserver); - break; - case METHODID_GET_REPORT_CONFIG: - serviceImpl.getReportConfig( - (com.google.cloud.storageinsights.v1.GetReportConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPORT_CONFIG: - serviceImpl.createReportConfig( - (com.google.cloud.storageinsights.v1.CreateReportConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_REPORT_CONFIG: - serviceImpl.updateReportConfig( - (com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPORT_CONFIG: - serviceImpl.deleteReportConfig( - (com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPORT_DETAILS: - serviceImpl.listReportDetails( - (com.google.cloud.storageinsights.v1.ListReportDetailsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.storageinsights.v1.ListReportDetailsResponse>) - responseObserver); - break; - case METHODID_GET_REPORT_DETAIL: - serviceImpl.getReportDetail( - (com.google.cloud.storageinsights.v1.GetReportDetailRequest) 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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListReportConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.ListReportConfigsRequest, - com.google.cloud.storageinsights.v1.ListReportConfigsResponse>( - service, METHODID_LIST_REPORT_CONFIGS))) - .addMethod( - getGetReportConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.GetReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig>( - service, METHODID_GET_REPORT_CONFIG))) - .addMethod( - getCreateReportConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.CreateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig>( - service, METHODID_CREATE_REPORT_CONFIG))) - .addMethod( - getUpdateReportConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig>( - service, METHODID_UPDATE_REPORT_CONFIG))) - .addMethod( - getDeleteReportConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_REPORT_CONFIG))) - .addMethod( - getListReportDetailsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.ListReportDetailsRequest, - com.google.cloud.storageinsights.v1.ListReportDetailsResponse>( - service, METHODID_LIST_REPORT_DETAILS))) - .addMethod( - getGetReportDetailMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.GetReportDetailRequest, - com.google.cloud.storageinsights.v1.ReportDetail>( - service, METHODID_GET_REPORT_DETAIL))) - .build(); - } - - private abstract static class StorageInsightsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - StorageInsightsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("StorageInsights"); - } - } - - private static final class StorageInsightsFileDescriptorSupplier - extends StorageInsightsBaseDescriptorSupplier { - StorageInsightsFileDescriptorSupplier() {} - } - - private static final class StorageInsightsMethodDescriptorSupplier - extends StorageInsightsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - StorageInsightsMethodDescriptorSupplier(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 (StorageInsightsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new StorageInsightsFileDescriptorSupplier()) - .addMethod(getListReportConfigsMethod()) - .addMethod(getGetReportConfigMethod()) - .addMethod(getCreateReportConfigMethod()) - .addMethod(getUpdateReportConfigMethod()) - .addMethod(getDeleteReportConfigMethod()) - .addMethod(getListReportDetailsMethod()) - .addMethod(getGetReportDetailMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java deleted file mode 100644 index 26bf6d775039..000000000000 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public interface CloudStorageFiltersOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CloudStorageFilters) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Bucket for which the report will be generated.
-   * 
- * - * string bucket = 1; - * - * @return The bucket. - */ - java.lang.String getBucket(); - /** - * - * - *
-   * Bucket for which the report will be generated.
-   * 
- * - * string bucket = 1; - * - * @return The bytes for bucket. - */ - com.google.protobuf.ByteString getBucketBytes(); -} diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java deleted file mode 100644 index df811f34f232..000000000000 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public interface GetReportConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.GetReportConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * 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/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java deleted file mode 100644 index 086b30369861..000000000000 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public interface GetReportDetailRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.GetReportDetailRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * 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/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java deleted file mode 100644 index e69352827900..000000000000 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public interface ParquetOptionsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ParquetOptions) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java deleted file mode 100644 index 4dce956e64e7..000000000000 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java +++ /dev/null @@ -1,511 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public final class V1Proto { - private V1Proto() {} - - 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_storageinsights_v1_ListReportConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n5google/cloud/storageinsights/v1/storag" - + "einsights.proto\022\037google.cloud.storageins" - + "ights.v1\032\034google/api/annotations.proto\032\027" - + "google/api/client.proto\032\037google/api/fiel" - + "d_behavior.proto\032\031google/api/resource.pr" - + "oto\032\033google/protobuf/empty.proto\032 google" - + "/protobuf/field_mask.proto\032\037google/proto" - + "buf/timestamp.proto\032\027google/rpc/status.p" - + "roto\032\026google/type/date.proto\032\032google/typ" - + "e/datetime.proto\"\251\001\n\030ListReportConfigsRe" - + "quest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+storagei" - + "nsights.googleapis.com/ReportConfig\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fi" - + "lter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\220\001\n\031ListRep" - + "ortConfigsResponse\022E\n\016report_configs\030\001 \003" - + "(\0132-.google.cloud.storageinsights.v1.Rep" - + "ortConfig\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013un" - + "reachable\030\003 \003(\t\"\\\n\026GetReportConfigReques" - + "t\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storageinsight" - + "s.googleapis.com/ReportConfig\"\307\001\n\031Create" - + "ReportConfigRequest\022D\n\006parent\030\001 \001(\tB4\342A\001" - + "\002\372A-\022+storageinsights.googleapis.com/Rep" - + "ortConfig\022J\n\rreport_config\030\003 \001(\0132-.googl" - + "e.cloud.storageinsights.v1.ReportConfigB" - + "\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\"\270\001\n\031Upda" - + "teReportConfigRequest\0225\n\013update_mask\030\001 \001" - + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\022J\n\r" - + "report_config\030\002 \001(\0132-.google.cloud.stora" - + "geinsights.v1.ReportConfigB\004\342A\001\002\022\030\n\nrequ" - + "est_id\030\003 \001(\tB\004\342A\001\001\"\216\001\n\031DeleteReportConfi" - + "gRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storage" - + "insights.googleapis.com/ReportConfig\022\023\n\005" - + "force\030\002 \001(\010B\004\342A\001\001\022\030\n\nrequest_id\030\003 \001(\tB\004\342" - + "A\001\001\"\343\004\n\014ReportDetail\022\014\n\004name\030\001 \001(\t\0221\n\rsn" - + "apshot_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stamp\022\032\n\022report_path_prefix\030\010 \001(\t\022\024\n\014sha" - + "rds_count\030\t \001(\003\022\"\n\006status\030\004 \001(\0132\022.google" - + ".rpc.Status\022I\n\006labels\030\005 \003(\01329.google.clo" - + "ud.storageinsights.v1.ReportDetail.Label" - + "sEntry\022.\n\017target_datetime\030\006 \001(\0132\025.google" - + ".type.DateTime\022M\n\016report_metrics\030\007 \001(\01325" - + ".google.cloud.storageinsights.v1.ReportD" - + "etail.Metrics\032*\n\007Metrics\022\037\n\027processed_re" - + "cords_count\030\001 \001(\003\032-\n\013LabelsEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\226\001\352A\222\001\n+storage" - + "insights.googleapis.com/ReportDetail\022cpr" - + "ojects/{project}/locations/{location}/re" - + "portConfigs/{report_config}/reportDetail" - + "s/{report_detail}\"\251\001\n\030ListReportDetailsR" - + "equest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+storage" - + "insights.googleapis.com/ReportDetail\022\021\n\t" - + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" - + "ilter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\220\001\n\031ListRe" - + "portDetailsResponse\022E\n\016report_details\030\001 " - + "\003(\0132-.google.cloud.storageinsights.v1.Re" - + "portDetail\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013u" - + "nreachable\030\003 \003(\t\"\\\n\026GetReportDetailReque" - + "st\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storageinsigh" - + "ts.googleapis.com/ReportDetail\"\207\002\n\021Opera" - + "tionMetadata\0225\n\013create_time\030\001 \001(\0132\032.goog" - + "le.protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030" - + "\002 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001" - + "\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026reque" - + "sted_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_ver" - + "sion\030\007 \001(\tB\004\342A\001\003\"\355\001\n\020FrequencyOptions\022N\n" - + "\tfrequency\030\001 \001(\0162;.google.cloud.storagei" - + "nsights.v1.FrequencyOptions.Frequency\022%\n" - + "\nstart_date\030\002 \001(\0132\021.google.type.Date\022#\n\010" - + "end_date\030\003 \001(\0132\021.google.type.Date\"=\n\tFre" - + "quency\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\t\n\005DAI" - + "LY\020\001\022\n\n\006WEEKLY\020\002\"R\n\nCSVOptions\022\030\n\020record" - + "_separator\030\001 \001(\t\022\021\n\tdelimiter\030\002 \001(\t\022\027\n\017h" - + "eader_required\030\003 \001(\010\"\020\n\016ParquetOptions\"%" - + "\n\023CloudStorageFilters\022\016\n\006bucket\030\001 \001(\t\"J\n" - + "\036CloudStorageDestinationOptions\022\016\n\006bucke" - + "t\030\001 \001(\t\022\030\n\020destination_path\030\002 \001(\t\"\220\002\n\033Ob" - + "jectMetadataReportOptions\022\027\n\017metadata_fi" - + "elds\030\001 \003(\t\022O\n\017storage_filters\030\002 \001(\01324.go" - + "ogle.cloud.storageinsights.v1.CloudStora" - + "geFiltersH\000\022f\n\033storage_destination_optio" - + "ns\030\003 \001(\0132?.google.cloud.storageinsights." - + "v1.CloudStorageDestinationOptionsH\001B\010\n\006f" - + "ilterB\025\n\023destination_options\"\371\005\n\014ReportC" - + "onfig\022\014\n\004name\030\001 \001(\t\0225\n\013create_time\030\002 \001(\013" - + "2\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013up" - + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "ampB\004\342A\001\003\022L\n\021frequency_options\030\005 \001(\01321.g" - + "oogle.cloud.storageinsights.v1.Frequency" - + "Options\022B\n\013csv_options\030\006 \001(\0132+.google.cl" - + "oud.storageinsights.v1.CSVOptionsH\000\022J\n\017p" - + "arquet_options\030\007 \001(\0132/.google.cloud.stor" - + "ageinsights.v1.ParquetOptionsH\000\022f\n\036objec" - + "t_metadata_report_options\030\010 \001(\0132<.google" - + ".cloud.storageinsights.v1.ObjectMetadata" - + "ReportOptionsH\001\022I\n\006labels\030\n \003(\01329.google" - + ".cloud.storageinsights.v1.ReportConfig.L" - + "abelsEntry\022\024\n\014display_name\030\013 \001(\t\032-\n\013Labe" - + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:" - + "w\352At\n+storageinsights.googleapis.com/Rep" - + "ortConfig\022Eprojects/{project}/locations/" - + "{location}/reportConfigs/{report_config}" - + "B\017\n\rreport_formatB\r\n\013report_kind2\251\014\n\017Sto" - + "rageInsights\022\316\001\n\021ListReportConfigs\0229.goo" - + "gle.cloud.storageinsights.v1.ListReportC" - + "onfigsRequest\032:.google.cloud.storageinsi" - + "ghts.v1.ListReportConfigsResponse\"B\332A\006pa" - + "rent\202\323\344\223\0023\0221/v1/{parent=projects/*/locat" - + "ions/*}/reportConfigs\022\273\001\n\017GetReportConfi" - + "g\0227.google.cloud.storageinsights.v1.GetR" - + "eportConfigRequest\032-.google.cloud.storag" - + "einsights.v1.ReportConfig\"@\332A\004name\202\323\344\223\0023" - + "\0221/v1/{name=projects/*/locations/*/repor" - + "tConfigs/*}\022\340\001\n\022CreateReportConfig\022:.goo" - + "gle.cloud.storageinsights.v1.CreateRepor" - + "tConfigRequest\032-.google.cloud.storageins" - + "ights.v1.ReportConfig\"_\332A\024parent,report_" - + "config\202\323\344\223\002B\"1/v1/{parent=projects/*/loc" - + "ations/*}/reportConfigs:\rreport_config\022\363" - + "\001\n\022UpdateReportConfig\022:.google.cloud.sto" - + "rageinsights.v1.UpdateReportConfigReques" - + "t\032-.google.cloud.storageinsights.v1.Repo" - + "rtConfig\"r\332A\031report_config,update_mask\202\323" - + "\344\223\002P2?/v1/{report_config.name=projects/*" - + "/locations/*/reportConfigs/*}:\rreport_co" - + "nfig\022\252\001\n\022DeleteReportConfig\022:.google.clo" - + "ud.storageinsights.v1.DeleteReportConfig" - + "Request\032\026.google.protobuf.Empty\"@\332A\004name" - + "\202\323\344\223\0023*1/v1/{name=projects/*/locations/*" - + "/reportConfigs/*}\022\336\001\n\021ListReportDetails\022" - + "9.google.cloud.storageinsights.v1.ListRe" - + "portDetailsRequest\032:.google.cloud.storag" - + "einsights.v1.ListReportDetailsResponse\"R" - + "\332A\006parent\202\323\344\223\002C\022A/v1/{parent=projects/*/" - + "locations/*/reportConfigs/*}/reportDetai" - + "ls\022\313\001\n\017GetReportDetail\0227.google.cloud.st" - + "orageinsights.v1.GetReportDetailRequest\032" - + "-.google.cloud.storageinsights.v1.Report" - + "Detail\"P\332A\004name\202\323\344\223\002C\022A/v1/{name=project" - + "s/*/locations/*/reportConfigs/*/reportDe" - + "tails/*}\032R\312A\036storageinsights.googleapis." - + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\350\001\n#com.google.cloud.storag" - + "einsights.v1B\007V1ProtoP\001ZMcloud.google.co" - + "m/go/storageinsights/apiv1/storageinsigh" - + "tspb;storageinsightspb\252\002\037Google.Cloud.St" - + "orageInsights.V1\312\002\037Google\\Cloud\\StorageI" - + "nsights\\V1\352\002\"Google::Cloud::StorageInsig" - + "hts::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.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - }); - internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor, - new java.lang.String[] { - "ReportConfigs", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "ReportConfig", "RequestId", - }); - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "ReportConfig", "RequestId", - }); - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor, - new java.lang.String[] { - "Name", "Force", "RequestId", - }); - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor, - new java.lang.String[] { - "Name", - "SnapshotTime", - "ReportPathPrefix", - "ShardsCount", - "Status", - "Labels", - "TargetDatetime", - "ReportMetrics", - }); - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor = - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor, - new java.lang.String[] { - "ProcessedRecordsCount", - }); - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor = - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor, - new java.lang.String[] { - "ReportDetails", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - "EndTime", - "Target", - "Verb", - "StatusMessage", - "RequestedCancellation", - "ApiVersion", - }); - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor, - new java.lang.String[] { - "Frequency", "StartDate", "EndDate", - }); - internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor, - new java.lang.String[] { - "RecordSeparator", "Delimiter", "HeaderRequired", - }); - internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor, - new java.lang.String[] { - "Bucket", - }); - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor, - new java.lang.String[] { - "Bucket", "DestinationPath", - }); - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor, - new java.lang.String[] { - "MetadataFields", - "StorageFilters", - "StorageDestinationOptions", - "Filter", - "DestinationOptions", - }); - internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "FrequencyOptions", - "CsvOptions", - "ParquetOptions", - "ObjectMetadataReportOptions", - "Labels", - "DisplayName", - "ReportFormat", - "ReportKind", - }); - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor = - internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - 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.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.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DateTimeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java similarity index 99% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java index 895730aa2485..c1d9532351cd 100644 --- a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java +++ b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.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.location.GetLocationRequest; diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java similarity index 99% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java index 9b95b76a40d0..2701ac04db43 100644 --- a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java +++ b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java @@ -47,6 +47,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/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json diff --git a/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java diff --git a/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java b/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java similarity index 100% rename from java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java rename to owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java diff --git a/owl-bot-staging/java-storageinsights/v1/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java b/owl-bot-staging/java-storageinsights/v1/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java new file mode 100644 index 000000000000..c7a82b3297f5 --- /dev/null +++ b/owl-bot-staging/java-storageinsights/v1/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java @@ -0,0 +1,839 @@ +package com.google.cloud.storageinsights.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service describing handlers for resources
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/storageinsights/v1/storageinsights.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class StorageInsightsGrpc { + + private StorageInsightsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.storageinsights.v1.StorageInsights"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListReportConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListReportConfigs", + requestType = com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, + responseType = com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListReportConfigsMethod() { + io.grpc.MethodDescriptor getListReportConfigsMethod; + if ((getListReportConfigsMethod = StorageInsightsGrpc.getListReportConfigsMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getListReportConfigsMethod = StorageInsightsGrpc.getListReportConfigsMethod) == null) { + StorageInsightsGrpc.getListReportConfigsMethod = getListReportConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReportConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ListReportConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ListReportConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("ListReportConfigs")) + .build(); + } + } + } + return getListReportConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetReportConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetReportConfig", + requestType = com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, + responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetReportConfigMethod() { + io.grpc.MethodDescriptor getGetReportConfigMethod; + if ((getGetReportConfigMethod = StorageInsightsGrpc.getGetReportConfigMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getGetReportConfigMethod = StorageInsightsGrpc.getGetReportConfigMethod) == null) { + StorageInsightsGrpc.getGetReportConfigMethod = getGetReportConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReportConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.GetReportConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance())) + .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("GetReportConfig")) + .build(); + } + } + } + return getGetReportConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateReportConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateReportConfig", + requestType = com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, + responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateReportConfigMethod() { + io.grpc.MethodDescriptor getCreateReportConfigMethod; + if ((getCreateReportConfigMethod = StorageInsightsGrpc.getCreateReportConfigMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getCreateReportConfigMethod = StorageInsightsGrpc.getCreateReportConfigMethod) == null) { + StorageInsightsGrpc.getCreateReportConfigMethod = getCreateReportConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReportConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.CreateReportConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance())) + .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("CreateReportConfig")) + .build(); + } + } + } + return getCreateReportConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateReportConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateReportConfig", + requestType = com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, + responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateReportConfigMethod() { + io.grpc.MethodDescriptor getUpdateReportConfigMethod; + if ((getUpdateReportConfigMethod = StorageInsightsGrpc.getUpdateReportConfigMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getUpdateReportConfigMethod = StorageInsightsGrpc.getUpdateReportConfigMethod) == null) { + StorageInsightsGrpc.getUpdateReportConfigMethod = getUpdateReportConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateReportConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance())) + .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("UpdateReportConfig")) + .build(); + } + } + } + return getUpdateReportConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteReportConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteReportConfig", + requestType = com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteReportConfigMethod() { + io.grpc.MethodDescriptor getDeleteReportConfigMethod; + if ((getDeleteReportConfigMethod = StorageInsightsGrpc.getDeleteReportConfigMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getDeleteReportConfigMethod = StorageInsightsGrpc.getDeleteReportConfigMethod) == null) { + StorageInsightsGrpc.getDeleteReportConfigMethod = getDeleteReportConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteReportConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("DeleteReportConfig")) + .build(); + } + } + } + return getDeleteReportConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getListReportDetailsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListReportDetails", + requestType = com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, + responseType = com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListReportDetailsMethod() { + io.grpc.MethodDescriptor getListReportDetailsMethod; + if ((getListReportDetailsMethod = StorageInsightsGrpc.getListReportDetailsMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getListReportDetailsMethod = StorageInsightsGrpc.getListReportDetailsMethod) == null) { + StorageInsightsGrpc.getListReportDetailsMethod = getListReportDetailsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReportDetails")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ListReportDetailsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ListReportDetailsResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("ListReportDetails")) + .build(); + } + } + } + return getListReportDetailsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetReportDetailMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetReportDetail", + requestType = com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, + responseType = com.google.cloud.storageinsights.v1.ReportDetail.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetReportDetailMethod() { + io.grpc.MethodDescriptor getGetReportDetailMethod; + if ((getGetReportDetailMethod = StorageInsightsGrpc.getGetReportDetailMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getGetReportDetailMethod = StorageInsightsGrpc.getGetReportDetailMethod) == null) { + StorageInsightsGrpc.getGetReportDetailMethod = getGetReportDetailMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReportDetail")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.GetReportDetailRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance())) + .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("GetReportDetail")) + .build(); + } + } + } + return getGetReportDetailMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static StorageInsightsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageInsightsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsStub(channel, callOptions); + } + }; + return StorageInsightsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static StorageInsightsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageInsightsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsBlockingStub(channel, callOptions); + } + }; + return StorageInsightsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static StorageInsightsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageInsightsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsFutureStub(channel, callOptions); + } + }; + return StorageInsightsFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service describing handlers for resources
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Lists ReportConfigs in a given project and location.
+     * 
+ */ + default void listReportConfigs(com.google.cloud.storageinsights.v1.ListReportConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListReportConfigsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single ReportConfig.
+     * 
+ */ + default void getReportConfig(com.google.cloud.storageinsights.v1.GetReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetReportConfigMethod(), responseObserver); + } + + /** + *
+     * Creates a new ReportConfig in a given project and location.
+     * 
+ */ + default void createReportConfig(com.google.cloud.storageinsights.v1.CreateReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReportConfigMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single ReportConfig.
+     * 
+ */ + default void updateReportConfig(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateReportConfigMethod(), responseObserver); + } + + /** + *
+     * Deletes a single ReportConfig.
+     * 
+ */ + default void deleteReportConfig(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteReportConfigMethod(), responseObserver); + } + + /** + *
+     * Lists ReportDetails in a given project and location.
+     * 
+ */ + default void listReportDetails(com.google.cloud.storageinsights.v1.ListReportDetailsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListReportDetailsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single ReportDetail.
+     * 
+ */ + default void getReportDetail(com.google.cloud.storageinsights.v1.GetReportDetailRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetReportDetailMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service StorageInsights. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static abstract class StorageInsightsImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return StorageInsightsGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service StorageInsights. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class StorageInsightsStub + extends io.grpc.stub.AbstractAsyncStub { + private StorageInsightsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageInsightsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsStub(channel, callOptions); + } + + /** + *
+     * Lists ReportConfigs in a given project and location.
+     * 
+ */ + public void listReportConfigs(com.google.cloud.storageinsights.v1.ListReportConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListReportConfigsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single ReportConfig.
+     * 
+ */ + public void getReportConfig(com.google.cloud.storageinsights.v1.GetReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetReportConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new ReportConfig in a given project and location.
+     * 
+ */ + public void createReportConfig(com.google.cloud.storageinsights.v1.CreateReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateReportConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single ReportConfig.
+     * 
+ */ + public void updateReportConfig(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateReportConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single ReportConfig.
+     * 
+ */ + public void deleteReportConfig(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteReportConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists ReportDetails in a given project and location.
+     * 
+ */ + public void listReportDetails(com.google.cloud.storageinsights.v1.ListReportDetailsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListReportDetailsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single ReportDetail.
+     * 
+ */ + public void getReportDetail(com.google.cloud.storageinsights.v1.GetReportDetailRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetReportDetailMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service StorageInsights. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class StorageInsightsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private StorageInsightsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageInsightsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists ReportConfigs in a given project and location.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ListReportConfigsResponse listReportConfigs(com.google.cloud.storageinsights.v1.ListReportConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListReportConfigsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single ReportConfig.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig(com.google.cloud.storageinsights.v1.GetReportConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetReportConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new ReportConfig in a given project and location.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ReportConfig createReportConfig(com.google.cloud.storageinsights.v1.CreateReportConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateReportConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single ReportConfig.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ReportConfig updateReportConfig(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateReportConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single ReportConfig.
+     * 
+ */ + public com.google.protobuf.Empty deleteReportConfig(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteReportConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists ReportDetails in a given project and location.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ListReportDetailsResponse listReportDetails(com.google.cloud.storageinsights.v1.ListReportDetailsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListReportDetailsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single ReportDetail.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ReportDetail getReportDetail(com.google.cloud.storageinsights.v1.GetReportDetailRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetReportDetailMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service StorageInsights. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class StorageInsightsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private StorageInsightsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageInsightsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsFutureStub(channel, callOptions); + } + + /** + *
+     * Lists ReportConfigs in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listReportConfigs( + com.google.cloud.storageinsights.v1.ListReportConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListReportConfigsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single ReportConfig.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getReportConfig( + com.google.cloud.storageinsights.v1.GetReportConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetReportConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new ReportConfig in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createReportConfig( + com.google.cloud.storageinsights.v1.CreateReportConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateReportConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single ReportConfig.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateReportConfig( + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateReportConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single ReportConfig.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteReportConfig( + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteReportConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists ReportDetails in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listReportDetails( + com.google.cloud.storageinsights.v1.ListReportDetailsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListReportDetailsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single ReportDetail.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getReportDetail( + com.google.cloud.storageinsights.v1.GetReportDetailRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetReportDetailMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_REPORT_CONFIGS = 0; + private static final int METHODID_GET_REPORT_CONFIG = 1; + private static final int METHODID_CREATE_REPORT_CONFIG = 2; + private static final int METHODID_UPDATE_REPORT_CONFIG = 3; + private static final int METHODID_DELETE_REPORT_CONFIG = 4; + private static final int METHODID_LIST_REPORT_DETAILS = 5; + private static final int METHODID_GET_REPORT_DETAIL = 6; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService 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_LIST_REPORT_CONFIGS: + serviceImpl.listReportConfigs((com.google.cloud.storageinsights.v1.ListReportConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPORT_CONFIG: + serviceImpl.getReportConfig((com.google.cloud.storageinsights.v1.GetReportConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPORT_CONFIG: + serviceImpl.createReportConfig((com.google.cloud.storageinsights.v1.CreateReportConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPORT_CONFIG: + serviceImpl.updateReportConfig((com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPORT_CONFIG: + serviceImpl.deleteReportConfig((com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPORT_DETAILS: + serviceImpl.listReportDetails((com.google.cloud.storageinsights.v1.ListReportDetailsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPORT_DETAIL: + serviceImpl.getReportDetail((com.google.cloud.storageinsights.v1.GetReportDetailRequest) 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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListReportConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.ListReportConfigsRequest, + com.google.cloud.storageinsights.v1.ListReportConfigsResponse>( + service, METHODID_LIST_REPORT_CONFIGS))) + .addMethod( + getGetReportConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.GetReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig>( + service, METHODID_GET_REPORT_CONFIG))) + .addMethod( + getCreateReportConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.CreateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig>( + service, METHODID_CREATE_REPORT_CONFIG))) + .addMethod( + getUpdateReportConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig>( + service, METHODID_UPDATE_REPORT_CONFIG))) + .addMethod( + getDeleteReportConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_REPORT_CONFIG))) + .addMethod( + getListReportDetailsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.ListReportDetailsRequest, + com.google.cloud.storageinsights.v1.ListReportDetailsResponse>( + service, METHODID_LIST_REPORT_DETAILS))) + .addMethod( + getGetReportDetailMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.GetReportDetailRequest, + com.google.cloud.storageinsights.v1.ReportDetail>( + service, METHODID_GET_REPORT_DETAIL))) + .build(); + } + + private static abstract class StorageInsightsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + StorageInsightsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("StorageInsights"); + } + } + + private static final class StorageInsightsFileDescriptorSupplier + extends StorageInsightsBaseDescriptorSupplier { + StorageInsightsFileDescriptorSupplier() {} + } + + private static final class StorageInsightsMethodDescriptorSupplier + extends StorageInsightsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + StorageInsightsMethodDescriptorSupplier(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 (StorageInsightsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new StorageInsightsFileDescriptorSupplier()) + .addMethod(getListReportConfigsMethod()) + .addMethod(getGetReportConfigMethod()) + .addMethod(getCreateReportConfigMethod()) + .addMethod(getUpdateReportConfigMethod()) + .addMethod(getDeleteReportConfigMethod()) + .addMethod(getListReportDetailsMethod()) + .addMethod(getGetReportDetailMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java similarity index 68% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java index 3b597b566551..245ea11e9ecb 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Options to configure CSV formatted reports.
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.CSVOptions} */ -public final class CSVOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CSVOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.CSVOptions) CSVOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CSVOptions.newBuilder() to construct. private CSVOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CSVOptions() { recordSeparator_ = ""; delimiter_ = ""; @@ -44,38 +26,33 @@ private CSVOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CSVOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.CSVOptions.class, - com.google.cloud.storageinsights.v1.CSVOptions.Builder.class); + com.google.cloud.storageinsights.v1.CSVOptions.class, com.google.cloud.storageinsights.v1.CSVOptions.Builder.class); } public static final int RECORD_SEPARATOR_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object recordSeparator_ = ""; /** - * - * *
    * Record separator characters in CSV.
    * 
* * string record_separator = 1; - * * @return The recordSeparator. */ @java.lang.Override @@ -84,29 +61,29 @@ public java.lang.String getRecordSeparator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordSeparator_ = s; return s; } } /** - * - * *
    * Record separator characters in CSV.
    * 
* * string record_separator = 1; - * * @return The bytes for recordSeparator. */ @java.lang.Override - public com.google.protobuf.ByteString getRecordSeparatorBytes() { + public com.google.protobuf.ByteString + getRecordSeparatorBytes() { java.lang.Object ref = recordSeparator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recordSeparator_ = b; return b; } else { @@ -115,18 +92,14 @@ public com.google.protobuf.ByteString getRecordSeparatorBytes() { } public static final int DELIMITER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; /** - * - * *
    * Delimiter characters in CSV.
    * 
* * string delimiter = 2; - * * @return The delimiter. */ @java.lang.Override @@ -135,29 +108,29 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** - * - * *
    * Delimiter characters in CSV.
    * 
* * string delimiter = 2; - * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -168,14 +141,11 @@ public com.google.protobuf.ByteString getDelimiterBytes() { public static final int HEADER_REQUIRED_FIELD_NUMBER = 3; private boolean headerRequired_ = false; /** - * - * *
    * If set, will include a header row in the CSV report.
    * 
* * bool header_required = 3; - * * @return The headerRequired. */ @java.lang.Override @@ -184,7 +154,6 @@ public boolean getHeaderRequired() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,7 +165,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(recordSeparator_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, recordSeparator_); } @@ -222,7 +192,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, delimiter_); } if (headerRequired_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, headerRequired_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, headerRequired_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,17 +203,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.storageinsights.v1.CSVOptions)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.CSVOptions other = - (com.google.cloud.storageinsights.v1.CSVOptions) obj; + com.google.cloud.storageinsights.v1.CSVOptions other = (com.google.cloud.storageinsights.v1.CSVOptions) obj; - if (!getRecordSeparator().equals(other.getRecordSeparator())) return false; - if (!getDelimiter().equals(other.getDelimiter())) return false; - if (getHeaderRequired() != other.getHeaderRequired()) return false; + if (!getRecordSeparator() + .equals(other.getRecordSeparator())) return false; + if (!getDelimiter() + .equals(other.getDelimiter())) return false; + if (getHeaderRequired() + != other.getHeaderRequired()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,142 +232,139 @@ public int hashCode() { hash = (37 * hash) + DELIMITER_FIELD_NUMBER; hash = (53 * hash) + getDelimiter().hashCode(); hash = (37 * hash) + HEADER_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHeaderRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHeaderRequired()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CSVOptions 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.storageinsights.v1.CSVOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CSVOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CSVOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.CSVOptions 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.storageinsights.v1.CSVOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.CSVOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Options to configure CSV formatted reports.
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.CSVOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.CSVOptions) com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.CSVOptions.class, - com.google.cloud.storageinsights.v1.CSVOptions.Builder.class); + com.google.cloud.storageinsights.v1.CSVOptions.class, com.google.cloud.storageinsights.v1.CSVOptions.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.CSVOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; } @java.lang.Override @@ -427,11 +397,8 @@ public com.google.cloud.storageinsights.v1.CSVOptions build() { @java.lang.Override public com.google.cloud.storageinsights.v1.CSVOptions buildPartial() { - com.google.cloud.storageinsights.v1.CSVOptions result = - new com.google.cloud.storageinsights.v1.CSVOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.CSVOptions result = new com.google.cloud.storageinsights.v1.CSVOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -453,39 +420,38 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.CSVOptions result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.CSVOptions) { - return mergeFrom((com.google.cloud.storageinsights.v1.CSVOptions) other); + return mergeFrom((com.google.cloud.storageinsights.v1.CSVOptions)other); } else { super.mergeFrom(other); return this; @@ -533,31 +499,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - recordSeparator_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - delimiter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - headerRequired_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + recordSeparator_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + delimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + headerRequired_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,25 +529,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object recordSeparator_ = ""; /** - * - * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; - * * @return The recordSeparator. */ public java.lang.String getRecordSeparator() { java.lang.Object ref = recordSeparator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordSeparator_ = s; return s; @@ -594,21 +553,20 @@ public java.lang.String getRecordSeparator() { } } /** - * - * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; - * * @return The bytes for recordSeparator. */ - public com.google.protobuf.ByteString getRecordSeparatorBytes() { + public com.google.protobuf.ByteString + getRecordSeparatorBytes() { java.lang.Object ref = recordSeparator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recordSeparator_ = b; return b; } else { @@ -616,35 +574,28 @@ public com.google.protobuf.ByteString getRecordSeparatorBytes() { } } /** - * - * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; - * * @param value The recordSeparator to set. * @return This builder for chaining. */ - public Builder setRecordSeparator(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRecordSeparator( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } recordSeparator_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; - * * @return This builder for chaining. */ public Builder clearRecordSeparator() { @@ -654,21 +605,17 @@ public Builder clearRecordSeparator() { return this; } /** - * - * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; - * * @param value The bytes for recordSeparator to set. * @return This builder for chaining. */ - public Builder setRecordSeparatorBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRecordSeparatorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); recordSeparator_ = value; bitField0_ |= 0x00000001; @@ -678,20 +625,18 @@ public Builder setRecordSeparatorBytes(com.google.protobuf.ByteString value) { private java.lang.Object delimiter_ = ""; /** - * - * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; - * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -700,21 +645,20 @@ public java.lang.String getDelimiter() { } } /** - * - * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; - * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -722,35 +666,28 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } } /** - * - * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; - * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelimiter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } delimiter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; - * * @return This builder for chaining. */ public Builder clearDelimiter() { @@ -760,21 +697,17 @@ public Builder clearDelimiter() { return this; } /** - * - * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; - * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelimiterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); delimiter_ = value; bitField0_ |= 0x00000002; @@ -782,16 +715,13 @@ public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { return this; } - private boolean headerRequired_; + private boolean headerRequired_ ; /** - * - * *
      * If set, will include a header row in the CSV report.
      * 
* * bool header_required = 3; - * * @return The headerRequired. */ @java.lang.Override @@ -799,14 +729,11 @@ public boolean getHeaderRequired() { return headerRequired_; } /** - * - * *
      * If set, will include a header row in the CSV report.
      * 
* * bool header_required = 3; - * * @param value The headerRequired to set. * @return This builder for chaining. */ @@ -818,14 +745,11 @@ public Builder setHeaderRequired(boolean value) { return this; } /** - * - * *
      * If set, will include a header row in the CSV report.
      * 
* * bool header_required = 3; - * * @return This builder for chaining. */ public Builder clearHeaderRequired() { @@ -834,9 +758,9 @@ public Builder clearHeaderRequired() { 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); } @@ -846,12 +770,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.CSVOptions) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.CSVOptions) private static final com.google.cloud.storageinsights.v1.CSVOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.CSVOptions(); } @@ -860,27 +784,27 @@ public static com.google.cloud.storageinsights.v1.CSVOptions getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CSVOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CSVOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -895,4 +819,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.CSVOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java similarity index 59% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java index 42dc4b4989a4..c9f929afd140 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java @@ -1,87 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface CSVOptionsOrBuilder - extends +public interface CSVOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CSVOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Record separator characters in CSV.
    * 
* * string record_separator = 1; - * * @return The recordSeparator. */ java.lang.String getRecordSeparator(); /** - * - * *
    * Record separator characters in CSV.
    * 
* * string record_separator = 1; - * * @return The bytes for recordSeparator. */ - com.google.protobuf.ByteString getRecordSeparatorBytes(); + com.google.protobuf.ByteString + getRecordSeparatorBytes(); /** - * - * *
    * Delimiter characters in CSV.
    * 
* * string delimiter = 2; - * * @return The delimiter. */ java.lang.String getDelimiter(); /** - * - * *
    * Delimiter characters in CSV.
    * 
* * string delimiter = 2; - * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString getDelimiterBytes(); + com.google.protobuf.ByteString + getDelimiterBytes(); /** - * - * *
    * If set, will include a header row in the CSV report.
    * 
* * bool header_required = 3; - * * @return The headerRequired. */ boolean getHeaderRequired(); diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java similarity index 63% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java index 2957aebcbdba..d95ea40363ac 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Options to store reports in storage systems.
  * Next ID: 3
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.CloudStorageDestinationOptions}
  */
-public final class CloudStorageDestinationOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudStorageDestinationOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.CloudStorageDestinationOptions)
     CloudStorageDestinationOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudStorageDestinationOptions.newBuilder() to construct.
-  private CloudStorageDestinationOptions(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CloudStorageDestinationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudStorageDestinationOptions() {
     bucket_ = "";
     destinationPath_ = "";
@@ -46,38 +27,33 @@ private CloudStorageDestinationOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudStorageDestinationOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.class,
-            com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder.class);
+            com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.class, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder.class);
   }
 
   public static final int BUCKET_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object bucket_ = "";
   /**
-   *
-   *
    * 
    * Destination bucket.
    * 
* * string bucket = 1; - * * @return The bucket. */ @java.lang.Override @@ -86,29 +62,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; } } /** - * - * *
    * Destination bucket.
    * 
* * 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 { @@ -117,19 +93,15 @@ public com.google.protobuf.ByteString getBucketBytes() { } public static final int DESTINATION_PATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object destinationPath_ = ""; /** - * - * *
    * Destination path is the path in the bucket where the report should be
    * generated.
    * 
* * string destination_path = 2; - * * @return The destinationPath. */ @java.lang.Override @@ -138,30 +110,30 @@ public java.lang.String getDestinationPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationPath_ = s; return s; } } /** - * - * *
    * Destination path is the path in the bucket where the report should be
    * generated.
    * 
* * string destination_path = 2; - * * @return The bytes for destinationPath. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationPathBytes() { + public com.google.protobuf.ByteString + getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationPath_ = b; return b; } else { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getDestinationPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,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_); } @@ -212,16 +184,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.storageinsights.v1.CloudStorageDestinationOptions)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions other = - (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) obj; + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions other = (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) obj; - if (!getBucket().equals(other.getBucket())) return false; - if (!getDestinationPath().equals(other.getDestinationPath())) return false; + if (!getBucket() + .equals(other.getBucket())) return false; + if (!getDestinationPath() + .equals(other.getDestinationPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -243,105 +216,98 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Options to store reports in storage systems.
    * Next ID: 3
@@ -349,33 +315,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.CloudStorageDestinationOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.CloudStorageDestinationOptions)
       com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.class,
-              com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder.class);
+              com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.class, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,16 +352,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions
-        getDefaultInstanceForType() {
-      return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions
-          .getDefaultInstance();
+    public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getDefaultInstanceForType() {
+      return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -409,17 +373,13 @@ public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions build(
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions buildPartial() {
-      com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions result =
-          new com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions result = new com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions result) {
+    private void buildPartial0(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.bucket_ = bucket_;
@@ -433,51 +393,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.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.storageinsights.v1.CloudStorageDestinationOptions) {
-        return mergeFrom(
-            (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions other) {
-      if (other
-          == com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions other) {
+      if (other == com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance()) return this;
       if (!other.getBucket().isEmpty()) {
         bucket_ = other.bucket_;
         bitField0_ |= 0x00000001;
@@ -514,25 +469,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                bucket_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                destinationPath_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              bucket_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              destinationPath_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -542,25 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object bucket_ = "";
     /**
-     *
-     *
      * 
      * Destination bucket.
      * 
* * 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; @@ -569,21 +518,20 @@ public java.lang.String getBucket() { } } /** - * - * *
      * Destination bucket.
      * 
* * 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 { @@ -591,35 +539,28 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
      * Destination bucket.
      * 
* * string bucket = 1; - * * @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; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Destination bucket.
      * 
* * string bucket = 1; - * * @return This builder for chaining. */ public Builder clearBucket() { @@ -629,21 +570,17 @@ public Builder clearBucket() { return this; } /** - * - * *
      * Destination bucket.
      * 
* * string bucket = 1; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bucket_ = value; bitField0_ |= 0x00000001; @@ -653,21 +590,19 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationPath_ = ""; /** - * - * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; - * * @return The destinationPath. */ public java.lang.String getDestinationPath() { java.lang.Object ref = destinationPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationPath_ = s; return s; @@ -676,22 +611,21 @@ public java.lang.String getDestinationPath() { } } /** - * - * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; - * * @return The bytes for destinationPath. */ - public com.google.protobuf.ByteString getDestinationPathBytes() { + public com.google.protobuf.ByteString + getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationPath_ = b; return b; } else { @@ -699,37 +633,30 @@ public com.google.protobuf.ByteString getDestinationPathBytes() { } } /** - * - * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; - * * @param value The destinationPath to set. * @return This builder for chaining. */ - public Builder setDestinationPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationPath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; - * * @return This builder for chaining. */ public Builder clearDestinationPath() { @@ -739,31 +666,27 @@ public Builder clearDestinationPath() { return this; } /** - * - * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; - * * @param value The bytes for destinationPath to set. * @return This builder for chaining. */ - public Builder setDestinationPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationPath_ = value; bitField0_ |= 0x00000002; 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); } @@ -773,43 +696,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.CloudStorageDestinationOptions) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - private static final com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions(); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - getDefaultInstance() { + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageDestinationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageDestinationOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,8 +742,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java similarity index 56% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java index aaed20b16afb..13f1318e2a50 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java @@ -1,77 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface CloudStorageDestinationOptionsOrBuilder - extends +public interface CloudStorageDestinationOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CloudStorageDestinationOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Destination bucket.
    * 
* * string bucket = 1; - * * @return The bucket. */ java.lang.String getBucket(); /** - * - * *
    * Destination bucket.
    * 
* * string bucket = 1; - * * @return The bytes for bucket. */ - com.google.protobuf.ByteString getBucketBytes(); + com.google.protobuf.ByteString + getBucketBytes(); /** - * - * *
    * Destination path is the path in the bucket where the report should be
    * generated.
    * 
* * string destination_path = 2; - * * @return The destinationPath. */ java.lang.String getDestinationPath(); /** - * - * *
    * Destination path is the path in the bucket where the report should be
    * generated.
    * 
* * string destination_path = 2; - * * @return The bytes for destinationPath. */ - com.google.protobuf.ByteString getDestinationPathBytes(); + com.google.protobuf.ByteString + getDestinationPathBytes(); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java similarity index 65% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java index 5e0126f9bcd2..0ef90ed1be4f 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Options to filter data on storage systems.
  * Next ID: 2
@@ -28,54 +11,48 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.CloudStorageFilters}
  */
-public final class CloudStorageFilters extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudStorageFilters extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.CloudStorageFilters)
     CloudStorageFiltersOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudStorageFilters.newBuilder() to construct.
   private CloudStorageFilters(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudStorageFilters() {
     bucket_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudStorageFilters();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.CloudStorageFilters.class,
-            com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder.class);
+            com.google.cloud.storageinsights.v1.CloudStorageFilters.class, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder.class);
   }
 
   public static final int BUCKET_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object bucket_ = "";
   /**
-   *
-   *
    * 
    * Bucket for which the report will be generated.
    * 
* * string bucket = 1; - * * @return The bucket. */ @java.lang.Override @@ -84,29 +61,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; } } /** - * - * *
    * Bucket for which the report will be generated.
    * 
* * 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 { @@ -115,7 +92,6 @@ public com.google.protobuf.ByteString getBucketBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +103,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_); } @@ -151,15 +128,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.storageinsights.v1.CloudStorageFilters)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.CloudStorageFilters other = - (com.google.cloud.storageinsights.v1.CloudStorageFilters) obj; + com.google.cloud.storageinsights.v1.CloudStorageFilters other = (com.google.cloud.storageinsights.v1.CloudStorageFilters) obj; - if (!getBucket().equals(other.getBucket())) return false; + if (!getBucket() + .equals(other.getBucket())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -179,104 +156,98 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.CloudStorageFilters 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.storageinsights.v1.CloudStorageFilters parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.CloudStorageFilters prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.CloudStorageFilters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Options to filter data on storage systems.
    * Next ID: 2
@@ -284,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.CloudStorageFilters}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.CloudStorageFilters)
       com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.CloudStorageFilters.class,
-              com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder.class);
+              com.google.cloud.storageinsights.v1.CloudStorageFilters.class, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.CloudStorageFilters.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -319,9 +291,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
     }
 
     @java.lang.Override
@@ -340,11 +312,8 @@ public com.google.cloud.storageinsights.v1.CloudStorageFilters build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.CloudStorageFilters buildPartial() {
-      com.google.cloud.storageinsights.v1.CloudStorageFilters result =
-          new com.google.cloud.storageinsights.v1.CloudStorageFilters(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.storageinsights.v1.CloudStorageFilters result = new com.google.cloud.storageinsights.v1.CloudStorageFilters(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -360,39 +329,38 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.CloudStorageFilte
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.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.storageinsights.v1.CloudStorageFilters) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.CloudStorageFilters) other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.CloudStorageFilters)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -400,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.storageinsights.v1.CloudStorageFilters other) {
-      if (other == com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance()) return this;
       if (!other.getBucket().isEmpty()) {
         bucket_ = other.bucket_;
         bitField0_ |= 0x00000001;
@@ -433,19 +400,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                bucket_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              bucket_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -455,25 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object bucket_ = "";
     /**
-     *
-     *
      * 
      * Bucket for which the report will be generated.
      * 
* * 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; @@ -482,21 +444,20 @@ public java.lang.String getBucket() { } } /** - * - * *
      * Bucket for which the report will be generated.
      * 
* * 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 { @@ -504,35 +465,28 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
      * Bucket for which the report will be generated.
      * 
* * string bucket = 1; - * * @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; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Bucket for which the report will be generated.
      * 
* * string bucket = 1; - * * @return This builder for chaining. */ public Builder clearBucket() { @@ -542,30 +496,26 @@ public Builder clearBucket() { return this; } /** - * - * *
      * Bucket for which the report will be generated.
      * 
* * string bucket = 1; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bucket_ = value; bitField0_ |= 0x00000001; 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); } @@ -575,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.CloudStorageFilters) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.CloudStorageFilters) private static final com.google.cloud.storageinsights.v1.CloudStorageFilters DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.CloudStorageFilters(); } @@ -589,27 +539,27 @@ public static com.google.cloud.storageinsights.v1.CloudStorageFilters getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageFilters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageFilters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -624,4 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.CloudStorageFilters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java new file mode 100644 index 000000000000..b99087de9650 --- /dev/null +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public interface CloudStorageFiltersOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CloudStorageFilters) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Bucket for which the report will be generated.
+   * 
+ * + * string bucket = 1; + * @return The bucket. + */ + java.lang.String getBucket(); + /** + *
+   * Bucket for which the report will be generated.
+   * 
+ * + * string bucket = 1; + * @return The bytes for bucket. + */ + com.google.protobuf.ByteString + getBucketBytes(); +} diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java similarity index 66% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java index 598b6f7cca41..542cbfe6f448 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message for creating a ReportConfig
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.CreateReportConfigRequest} */ -public final class CreateReportConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateReportConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.CreateReportConfigRequest) CreateReportConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateReportConfigRequest.newBuilder() to construct. private CreateReportConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateReportConfigRequest() { parent_ = ""; requestId_ = ""; @@ -44,40 +26,33 @@ private CreateReportConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateReportConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, - com.google.cloud.storageinsights.v1.CreateReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, com.google.cloud.storageinsights.v1.CreateReportConfigRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Value for parent.
    * 
* - * - * 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 @@ -86,31 +61,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. Value for parent.
    * 
* - * - * 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 { @@ -121,16 +94,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPORT_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.storageinsights.v1.ReportConfig reportConfig_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the reportConfig field is set. */ @java.lang.Override @@ -138,49 +106,33 @@ public boolean hasReportConfig() { return reportConfig_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The reportConfig. */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig() { - return reportConfig_ == null - ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() - : reportConfig_; + return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder() { - return reportConfig_ == null - ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() - : reportConfig_; + return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,7 +150,6 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -207,15 +158,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,15 +183,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,7 +201,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +212,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_); } @@ -285,7 +236,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (reportConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReportConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getReportConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -298,20 +250,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.storageinsights.v1.CreateReportConfigRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.CreateReportConfigRequest other = - (com.google.cloud.storageinsights.v1.CreateReportConfigRequest) obj; + com.google.cloud.storageinsights.v1.CreateReportConfigRequest other = (com.google.cloud.storageinsights.v1.CreateReportConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasReportConfig() != other.hasReportConfig()) return false; if (hasReportConfig()) { - if (!getReportConfig().equals(other.getReportConfig())) return false; + if (!getReportConfig() + .equals(other.getReportConfig())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -337,136 +291,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest 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.storageinsights.v1.CreateReportConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.CreateReportConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for creating a ReportConfig
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.CreateReportConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.CreateReportConfigRequest) com.google.cloud.storageinsights.v1.CreateReportConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, - com.google.cloud.storageinsights.v1.CreateReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, com.google.cloud.storageinsights.v1.CreateReportConfigRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.CreateReportConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +431,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.CreateReportConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.CreateReportConfigRequest getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.CreateReportConfigRequest.getDefaultInstance(); } @@ -504,24 +452,21 @@ public com.google.cloud.storageinsights.v1.CreateReportConfigRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.CreateReportConfigRequest buildPartial() { - com.google.cloud.storageinsights.v1.CreateReportConfigRequest result = - new com.google.cloud.storageinsights.v1.CreateReportConfigRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.CreateReportConfigRequest result = new com.google.cloud.storageinsights.v1.CreateReportConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest result) { + private void buildPartial0(com.google.cloud.storageinsights.v1.CreateReportConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.reportConfig_ = - reportConfigBuilder_ == null ? reportConfig_ : reportConfigBuilder_.build(); + result.reportConfig_ = reportConfigBuilder_ == null + ? reportConfig_ + : reportConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -532,39 +477,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.CreateReportConfigRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.CreateReportConfigRequest) other); + return mergeFrom((com.google.cloud.storageinsights.v1.CreateReportConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -572,9 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.CreateReportConfigRequest other) { - if (other - == com.google.cloud.storageinsights.v1.CreateReportConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.CreateReportConfigRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -614,31 +556,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - input.readMessage(getReportConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + input.readMessage( + getReportConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,27 +588,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Value for parent.
      * 
* - * - * 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; @@ -677,23 +612,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * 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 { @@ -701,39 +633,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * 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() { @@ -743,23 +664,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -769,58 +684,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.storageinsights.v1.ReportConfig reportConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> - reportConfigBuilder_; + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> reportConfigBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the reportConfig field is set. */ public boolean hasReportConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The reportConfig. */ public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig() { if (reportConfigBuilder_ == null) { - return reportConfig_ == null - ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() - : reportConfig_; + return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; } else { return reportConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setReportConfig(com.google.cloud.storageinsights.v1.ReportConfig value) { if (reportConfigBuilder_ == null) { @@ -836,15 +732,11 @@ public Builder setReportConfig(com.google.cloud.storageinsights.v1.ReportConfig return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setReportConfig( com.google.cloud.storageinsights.v1.ReportConfig.Builder builderForValue) { @@ -858,22 +750,17 @@ public Builder setReportConfig( return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeReportConfig(com.google.cloud.storageinsights.v1.ReportConfig value) { if (reportConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && reportConfig_ != null - && reportConfig_ - != com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + reportConfig_ != null && + reportConfig_ != com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) { getReportConfigBuilder().mergeFrom(value); } else { reportConfig_ = value; @@ -886,15 +773,11 @@ public Builder mergeReportConfig(com.google.cloud.storageinsights.v1.ReportConfi return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearReportConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -907,15 +790,11 @@ public Builder clearReportConfig() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigBuilder() { bitField0_ |= 0x00000002; @@ -923,48 +802,36 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigB return getReportConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder() { if (reportConfigBuilder_ != null) { return reportConfigBuilder_.getMessageOrBuilder(); } else { - return reportConfig_ == null - ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() - : reportConfig_; + return reportConfig_ == null ? + com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> getReportConfigFieldBuilder() { if (reportConfigBuilder_ == null) { - reportConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( - getReportConfig(), getParentForChildren(), isClean()); + reportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( + getReportConfig(), + getParentForChildren(), + isClean()); reportConfig_ = null; } return reportConfigBuilder_; @@ -972,8 +839,6 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -991,13 +856,13 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1006,8 +871,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1025,14 +888,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1040,8 +904,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1059,22 +921,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,7 +950,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1102,8 +959,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1121,23 +976,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; 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); } @@ -1147,13 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.CreateReportConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.CreateReportConfigRequest) - private static final com.google.cloud.storageinsights.v1.CreateReportConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.CreateReportConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.CreateReportConfigRequest(); } @@ -1162,27 +1014,27 @@ public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReportConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReportConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1197,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.CreateReportConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java similarity index 66% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java index 4ad00d23cb1c..329cb1c97048 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java @@ -1,101 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface CreateReportConfigRequestOrBuilder - extends +public interface CreateReportConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CreateReportConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Value for parent.
    * 
* - * - * 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. Value for parent.
    * 
* - * - * 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 resource being created
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the reportConfig field is set. */ boolean hasReportConfig(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The reportConfig. */ com.google.cloud.storageinsights.v1.ReportConfig getReportConfig(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,13 +72,10 @@ public interface CreateReportConfigRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -137,8 +93,8 @@ public interface CreateReportConfigRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java similarity index 70% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java index 6ae173a073e0..4c0927a08ac3 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message for deleting a ReportConfig
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.DeleteReportConfigRequest} */ -public final class DeleteReportConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteReportConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.DeleteReportConfigRequest) DeleteReportConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteReportConfigRequest.newBuilder() to construct. private DeleteReportConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteReportConfigRequest() { name_ = ""; requestId_ = ""; @@ -44,40 +26,33 @@ private DeleteReportConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteReportConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource
    * 
* - * - * string name = 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 @@ -86,31 +61,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 resource
    * 
* - * - * string name = 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 { @@ -121,14 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** - * - * *
    * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
    * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -137,12 +107,9 @@ public boolean getForce() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -160,7 +127,6 @@ public boolean getForce() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -169,15 +135,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -195,15 +160,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -212,7 +178,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,7 +189,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_); } @@ -247,7 +213,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -260,17 +227,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.storageinsights.v1.DeleteReportConfigRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest other = - (com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) obj; + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest other = (com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,7 +254,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -294,136 +264,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest 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.storageinsights.v1.DeleteReportConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for deleting a ReportConfig
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.DeleteReportConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.DeleteReportConfigRequest) com.google.cloud.storageinsights.v1.DeleteReportConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,14 +400,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.getDefaultInstance(); } @@ -457,17 +421,13 @@ public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest buildPartial() { - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest result = - new com.google.cloud.storageinsights.v1.DeleteReportConfigRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest result = new com.google.cloud.storageinsights.v1.DeleteReportConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest result) { + private void buildPartial0(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -484,39 +444,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.DeleteReportConfigRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) other); + return mergeFrom((com.google.cloud.storageinsights.v1.DeleteReportConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -524,9 +483,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest other) { - if (other - == com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -566,31 +523,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - force_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + force_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -600,27 +553,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 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; @@ -629,23 +577,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 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 { @@ -653,39 +598,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string 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() { @@ -695,23 +629,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -719,16 +647,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -736,14 +661,11 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -755,14 +677,11 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -774,8 +693,6 @@ public Builder clearForce() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -793,13 +710,13 @@ public Builder clearForce() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -808,8 +725,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -827,14 +742,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -842,8 +758,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -861,22 +775,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -894,7 +804,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -904,8 +813,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -923,23 +830,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; 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); } @@ -949,13 +854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.DeleteReportConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.DeleteReportConfigRequest) - private static final com.google.cloud.storageinsights.v1.DeleteReportConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.DeleteReportConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.DeleteReportConfigRequest(); } @@ -964,27 +868,27 @@ public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteReportConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteReportConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -999,4 +903,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java similarity index 71% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java index 210080fb8bf8..01475e67c144 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java @@ -1,73 +1,43 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface DeleteReportConfigRequestOrBuilder - extends +public interface DeleteReportConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.DeleteReportConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the resource
    * 
* - * - * string name = 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 resource
    * 
* - * - * string name = 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(); /** - * - * *
    * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
    * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -85,13 +55,10 @@ public interface DeleteReportConfigRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -109,8 +76,8 @@ public interface DeleteReportConfigRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java similarity index 71% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java index d94a08a60786..664fdda769b5 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * ReportConfig Resource:
  *
@@ -29,54 +12,49 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.FrequencyOptions}
  */
-public final class FrequencyOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FrequencyOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.FrequencyOptions)
     FrequencyOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FrequencyOptions.newBuilder() to construct.
   private FrequencyOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private FrequencyOptions() {
     frequency_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FrequencyOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.FrequencyOptions.class,
-            com.google.cloud.storageinsights.v1.FrequencyOptions.Builder.class);
+            com.google.cloud.storageinsights.v1.FrequencyOptions.class, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * This ENUM specifies possible frequencies of report generation.
    * 
* * Protobuf enum {@code google.cloud.storageinsights.v1.FrequencyOptions.Frequency} */ - public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { + public enum Frequency + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -85,8 +63,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ FREQUENCY_UNSPECIFIED(0), /** - * - * *
      * Report will be generated daily.
      * 
@@ -95,8 +71,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ DAILY(1), /** - * - * *
      * Report will be generated weekly.
      * 
@@ -108,8 +82,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -118,8 +90,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FREQUENCY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Report will be generated daily.
      * 
@@ -128,8 +98,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DAILY_VALUE = 1; /** - * - * *
      * Report will be generated weekly.
      * 
@@ -138,6 +106,7 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WEEKLY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -162,51 +131,49 @@ public static Frequency valueOf(int value) { */ public static Frequency forNumber(int value) { switch (value) { - case 0: - return FREQUENCY_UNSPECIFIED; - case 1: - return DAILY; - case 2: - return WEEKLY; - default: - return null; + case 0: return FREQUENCY_UNSPECIFIED; + case 1: return DAILY; + case 2: return WEEKLY; + 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.storageinsights.v1.FrequencyOptions.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.FrequencyOptions.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; @@ -226,52 +193,38 @@ private Frequency(int value) { public static final int FREQUENCY_FIELD_NUMBER = 1; private int frequency_ = 0; /** - * - * *
    * Frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override - public int getFrequencyValue() { + @java.lang.Override public int getFrequencyValue() { return frequency_; } /** - * - * *
    * Frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @return The frequency. */ - @java.lang.Override - public com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency getFrequency() { - com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency result = - com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.forNumber(frequency_); - return result == null - ? com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency getFrequency() { + com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency result = com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.forNumber(frequency_); + return result == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.UNRECOGNIZED : result; } public static final int START_DATE_FIELD_NUMBER = 2; private com.google.type.Date startDate_; /** - * - * *
    * The date from which report generation should start.
    * UTC time zone.
    * 
* * .google.type.Date start_date = 2; - * * @return Whether the startDate field is set. */ @java.lang.Override @@ -279,15 +232,12 @@ public boolean hasStartDate() { return startDate_ != null; } /** - * - * *
    * The date from which report generation should start.
    * UTC time zone.
    * 
* * .google.type.Date start_date = 2; - * * @return The startDate. */ @java.lang.Override @@ -295,8 +245,6 @@ public com.google.type.Date getStartDate() { return startDate_ == null ? com.google.type.Date.getDefaultInstance() : startDate_; } /** - * - * *
    * The date from which report generation should start.
    * UTC time zone.
@@ -312,15 +260,12 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
   public static final int END_DATE_FIELD_NUMBER = 3;
   private com.google.type.Date endDate_;
   /**
-   *
-   *
    * 
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
    * 
* * .google.type.Date end_date = 3; - * * @return Whether the endDate field is set. */ @java.lang.Override @@ -328,15 +273,12 @@ public boolean hasEndDate() { return endDate_ != null; } /** - * - * *
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
    * 
* * .google.type.Date end_date = 3; - * * @return The endDate. */ @java.lang.Override @@ -344,8 +286,6 @@ public com.google.type.Date getEndDate() { return endDate_ == null ? com.google.type.Date.getDefaultInstance() : endDate_; } /** - * - * *
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
@@ -359,7 +299,6 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -371,10 +310,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (frequency_
-        != com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.FREQUENCY_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (frequency_ != com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, frequency_);
     }
     if (startDate_ != null) {
@@ -392,16 +330,17 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (frequency_
-        != com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.FREQUENCY_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, frequency_);
+    if (frequency_ != com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, frequency_);
     }
     if (startDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartDate());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartDate());
     }
     if (endDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndDate());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndDate());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -411,22 +350,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.storageinsights.v1.FrequencyOptions)) {
       return super.equals(obj);
     }
-    com.google.cloud.storageinsights.v1.FrequencyOptions other =
-        (com.google.cloud.storageinsights.v1.FrequencyOptions) obj;
+    com.google.cloud.storageinsights.v1.FrequencyOptions other = (com.google.cloud.storageinsights.v1.FrequencyOptions) obj;
 
     if (frequency_ != other.frequency_) return false;
     if (hasStartDate() != other.hasStartDate()) return false;
     if (hasStartDate()) {
-      if (!getStartDate().equals(other.getStartDate())) return false;
+      if (!getStartDate()
+          .equals(other.getStartDate())) return false;
     }
     if (hasEndDate() != other.hasEndDate()) return false;
     if (hasEndDate()) {
-      if (!getEndDate().equals(other.getEndDate())) return false;
+      if (!getEndDate()
+          .equals(other.getEndDate())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -455,103 +395,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.storageinsights.v1.FrequencyOptions parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.storageinsights.v1.FrequencyOptions parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.storageinsights.v1.FrequencyOptions 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.storageinsights.v1.FrequencyOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.storageinsights.v1.FrequencyOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * ReportConfig Resource:
    *
@@ -560,32 +495,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.FrequencyOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.FrequencyOptions)
       com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.FrequencyOptions.class,
-              com.google.cloud.storageinsights.v1.FrequencyOptions.Builder.class);
+              com.google.cloud.storageinsights.v1.FrequencyOptions.class, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.FrequencyOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -605,9 +541,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
     }
 
     @java.lang.Override
@@ -626,11 +562,8 @@ public com.google.cloud.storageinsights.v1.FrequencyOptions build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.FrequencyOptions buildPartial() {
-      com.google.cloud.storageinsights.v1.FrequencyOptions result =
-          new com.google.cloud.storageinsights.v1.FrequencyOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.storageinsights.v1.FrequencyOptions result = new com.google.cloud.storageinsights.v1.FrequencyOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -641,10 +574,14 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.FrequencyOptions
         result.frequency_ = frequency_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startDate_ = startDateBuilder_ == null ? startDate_ : startDateBuilder_.build();
+        result.startDate_ = startDateBuilder_ == null
+            ? startDate_
+            : startDateBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endDate_ = endDateBuilder_ == null ? endDate_ : endDateBuilder_.build();
+        result.endDate_ = endDateBuilder_ == null
+            ? endDate_
+            : endDateBuilder_.build();
       }
     }
 
@@ -652,39 +589,38 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.FrequencyOptions
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.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.storageinsights.v1.FrequencyOptions) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.FrequencyOptions) other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.FrequencyOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -692,8 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.storageinsights.v1.FrequencyOptions other) {
-      if (other == com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance()) return this;
       if (other.frequency_ != 0) {
         setFrequencyValue(other.getFrequencyValue());
       }
@@ -729,31 +664,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                frequency_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartDateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndDateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              frequency_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartDateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndDateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -763,34 +698,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int frequency_ = 0;
     /**
-     *
-     *
      * 
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override - public int getFrequencyValue() { + @java.lang.Override public int getFrequencyValue() { return frequency_; } /** - * - * *
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @param value The enum numeric value on the wire for frequency to set. * @return This builder for chaining. */ @@ -801,38 +728,28 @@ public Builder setFrequencyValue(int value) { return this; } /** - * - * *
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @return The frequency. */ @java.lang.Override public com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency getFrequency() { - com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency result = - com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.forNumber(frequency_); - return result == null - ? com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.UNRECOGNIZED - : result; + com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency result = com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.forNumber(frequency_); + return result == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.UNRECOGNIZED : result; } /** - * - * *
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @param value The frequency to set. * @return This builder for chaining. */ - public Builder setFrequency( - com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency value) { + public Builder setFrequency(com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency value) { if (value == null) { throw new NullPointerException(); } @@ -842,14 +759,11 @@ public Builder setFrequency( return this; } /** - * - * *
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @return This builder for chaining. */ public Builder clearFrequency() { @@ -861,33 +775,26 @@ public Builder clearFrequency() { private com.google.type.Date startDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - startDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> startDateBuilder_; /** - * - * *
      * The date from which report generation should start.
      * UTC time zone.
      * 
* * .google.type.Date start_date = 2; - * * @return Whether the startDate field is set. */ public boolean hasStartDate() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The date from which report generation should start.
      * UTC time zone.
      * 
* * .google.type.Date start_date = 2; - * * @return The startDate. */ public com.google.type.Date getStartDate() { @@ -898,8 +805,6 @@ public com.google.type.Date getStartDate() { } } /** - * - * *
      * The date from which report generation should start.
      * UTC time zone.
@@ -921,8 +826,6 @@ public Builder setStartDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -930,7 +833,8 @@ public Builder setStartDate(com.google.type.Date value) {
      *
      * .google.type.Date start_date = 2;
      */
-    public Builder setStartDate(com.google.type.Date.Builder builderForValue) {
+    public Builder setStartDate(
+        com.google.type.Date.Builder builderForValue) {
       if (startDateBuilder_ == null) {
         startDate_ = builderForValue.build();
       } else {
@@ -941,8 +845,6 @@ public Builder setStartDate(com.google.type.Date.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -952,9 +854,9 @@ public Builder setStartDate(com.google.type.Date.Builder builderForValue) {
      */
     public Builder mergeStartDate(com.google.type.Date value) {
       if (startDateBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startDate_ != null
-            && startDate_ != com.google.type.Date.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startDate_ != null &&
+          startDate_ != com.google.type.Date.getDefaultInstance()) {
           getStartDateBuilder().mergeFrom(value);
         } else {
           startDate_ = value;
@@ -967,8 +869,6 @@ public Builder mergeStartDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -987,8 +887,6 @@ public Builder clearStartDate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -1002,8 +900,6 @@ public com.google.type.Date.Builder getStartDateBuilder() {
       return getStartDateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -1015,12 +911,11 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
       if (startDateBuilder_ != null) {
         return startDateBuilder_.getMessageOrBuilder();
       } else {
-        return startDate_ == null ? com.google.type.Date.getDefaultInstance() : startDate_;
+        return startDate_ == null ?
+            com.google.type.Date.getDefaultInstance() : startDate_;
       }
     }
     /**
-     *
-     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -1029,13 +924,14 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
      * .google.type.Date start_date = 2;
      */
     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> 
         getStartDateFieldBuilder() {
       if (startDateBuilder_ == null) {
-        startDateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getStartDate(), getParentForChildren(), isClean());
+        startDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getStartDate(),
+                getParentForChildren(),
+                isClean());
         startDate_ = null;
       }
       return startDateBuilder_;
@@ -1043,33 +939,26 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
 
     private com.google.type.Date endDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
-        endDateBuilder_;
+        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endDateBuilder_;
     /**
-     *
-     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
      * 
* * .google.type.Date end_date = 3; - * * @return Whether the endDate field is set. */ public boolean hasEndDate() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
      * 
* * .google.type.Date end_date = 3; - * * @return The endDate. */ public com.google.type.Date getEndDate() { @@ -1080,8 +969,6 @@ public com.google.type.Date getEndDate() { } } /** - * - * *
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1103,8 +990,6 @@ public Builder setEndDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1112,7 +997,8 @@ public Builder setEndDate(com.google.type.Date value) {
      *
      * .google.type.Date end_date = 3;
      */
-    public Builder setEndDate(com.google.type.Date.Builder builderForValue) {
+    public Builder setEndDate(
+        com.google.type.Date.Builder builderForValue) {
       if (endDateBuilder_ == null) {
         endDate_ = builderForValue.build();
       } else {
@@ -1123,8 +1009,6 @@ public Builder setEndDate(com.google.type.Date.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1134,9 +1018,9 @@ public Builder setEndDate(com.google.type.Date.Builder builderForValue) {
      */
     public Builder mergeEndDate(com.google.type.Date value) {
       if (endDateBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endDate_ != null
-            && endDate_ != com.google.type.Date.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endDate_ != null &&
+          endDate_ != com.google.type.Date.getDefaultInstance()) {
           getEndDateBuilder().mergeFrom(value);
         } else {
           endDate_ = value;
@@ -1149,8 +1033,6 @@ public Builder mergeEndDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1169,8 +1051,6 @@ public Builder clearEndDate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1184,8 +1064,6 @@ public com.google.type.Date.Builder getEndDateBuilder() {
       return getEndDateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1197,12 +1075,11 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() {
       if (endDateBuilder_ != null) {
         return endDateBuilder_.getMessageOrBuilder();
       } else {
-        return endDate_ == null ? com.google.type.Date.getDefaultInstance() : endDate_;
+        return endDate_ == null ?
+            com.google.type.Date.getDefaultInstance() : endDate_;
       }
     }
     /**
-     *
-     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1211,20 +1088,21 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() {
      * .google.type.Date end_date = 3;
      */
     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> 
         getEndDateFieldBuilder() {
       if (endDateBuilder_ == null) {
-        endDateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getEndDate(), getParentForChildren(), isClean());
+        endDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getEndDate(),
+                getParentForChildren(),
+                isClean());
         endDate_ = null;
       }
       return endDateBuilder_;
     }
-
     @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);
     }
 
@@ -1234,12 +1112,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.FrequencyOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.FrequencyOptions)
   private static final com.google.cloud.storageinsights.v1.FrequencyOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.FrequencyOptions();
   }
@@ -1248,27 +1126,27 @@ public static com.google.cloud.storageinsights.v1.FrequencyOptions getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FrequencyOptions parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FrequencyOptions parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1283,4 +1161,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.storageinsights.v1.FrequencyOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
similarity index 75%
rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
index 006758ae52ed..5de98572919c 100644
--- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
+++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
@@ -1,82 +1,52 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/storageinsights/v1/storageinsights.proto
 
 package com.google.cloud.storageinsights.v1;
 
-public interface FrequencyOptionsOrBuilder
-    extends
+public interface FrequencyOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.FrequencyOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @return The enum numeric value on the wire for frequency. */ int getFrequencyValue(); /** - * - * *
    * Frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; - * * @return The frequency. */ com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency getFrequency(); /** - * - * *
    * The date from which report generation should start.
    * UTC time zone.
    * 
* * .google.type.Date start_date = 2; - * * @return Whether the startDate field is set. */ boolean hasStartDate(); /** - * - * *
    * The date from which report generation should start.
    * UTC time zone.
    * 
* * .google.type.Date start_date = 2; - * * @return The startDate. */ com.google.type.Date getStartDate(); /** - * - * *
    * The date from which report generation should start.
    * UTC time zone.
@@ -87,34 +57,26 @@ public interface FrequencyOptionsOrBuilder
   com.google.type.DateOrBuilder getStartDateOrBuilder();
 
   /**
-   *
-   *
    * 
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
    * 
* * .google.type.Date end_date = 3; - * * @return Whether the endDate field is set. */ boolean hasEndDate(); /** - * - * *
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
    * 
* * .google.type.Date end_date = 3; - * * @return The endDate. */ com.google.type.Date getEndDate(); /** - * - * *
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
similarity index 61%
rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
index 31f3f60e8954..35af029e5bc6 100644
--- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
+++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
@@ -1,82 +1,57 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/storageinsights/v1/storageinsights.proto
 
 package com.google.cloud.storageinsights.v1;
 
 /**
- *
- *
  * 
  * Message for getting a ReportConfig
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.GetReportConfigRequest} */ -public final class GetReportConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetReportConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.GetReportConfigRequest) GetReportConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetReportConfigRequest.newBuilder() to construct. private GetReportConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetReportConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetReportConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, - com.google.cloud.storageinsights.v1.GetReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, com.google.cloud.storageinsights.v1.GetReportConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource
    * 
* - * - * string name = 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 @@ -85,31 +60,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 resource
    * 
* - * - * string name = 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 { @@ -118,7 +91,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +102,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_); } @@ -154,15 +127,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.storageinsights.v1.GetReportConfigRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.GetReportConfigRequest other = - (com.google.cloud.storageinsights.v1.GetReportConfigRequest) obj; + com.google.cloud.storageinsights.v1.GetReportConfigRequest other = (com.google.cloud.storageinsights.v1.GetReportConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,136 +155,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.GetReportConfigRequest 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.storageinsights.v1.GetReportConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.GetReportConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.GetReportConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for getting a ReportConfig
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.GetReportConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.GetReportConfigRequest) com.google.cloud.storageinsights.v1.GetReportConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, - com.google.cloud.storageinsights.v1.GetReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, com.google.cloud.storageinsights.v1.GetReportConfigRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.GetReportConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; } @java.lang.Override @@ -342,11 +310,8 @@ public com.google.cloud.storageinsights.v1.GetReportConfigRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.GetReportConfigRequest buildPartial() { - com.google.cloud.storageinsights.v1.GetReportConfigRequest result = - new com.google.cloud.storageinsights.v1.GetReportConfigRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.GetReportConfigRequest result = new com.google.cloud.storageinsights.v1.GetReportConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,39 +327,38 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.GetReportConfigRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.GetReportConfigRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.GetReportConfigRequest) other); + return mergeFrom((com.google.cloud.storageinsights.v1.GetReportConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -402,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.GetReportConfigRequest other) { - if (other == com.google.cloud.storageinsights.v1.GetReportConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.GetReportConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -435,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,27 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 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; @@ -486,23 +442,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 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 { @@ -510,39 +463,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string 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() { @@ -552,32 +494,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.GetReportConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.GetReportConfigRequest) private static final com.google.cloud.storageinsights.v1.GetReportConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.GetReportConfigRequest(); } @@ -601,27 +537,27 @@ public static com.google.cloud.storageinsights.v1.GetReportConfigRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetReportConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetReportConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.GetReportConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java new file mode 100644 index 000000000000..836d78ceee60 --- /dev/null +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public interface GetReportConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.GetReportConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the resource
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the resource
+   * 
+ * + * 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/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java similarity index 61% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java index 6d6a201e3f0f..e85e377bd7b3 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java @@ -1,82 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message for getting a ReportDetail
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.GetReportDetailRequest} */ -public final class GetReportDetailRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetReportDetailRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.GetReportDetailRequest) GetReportDetailRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetReportDetailRequest.newBuilder() to construct. private GetReportDetailRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetReportDetailRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetReportDetailRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, - com.google.cloud.storageinsights.v1.GetReportDetailRequest.Builder.class); + com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, com.google.cloud.storageinsights.v1.GetReportDetailRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource
    * 
* - * - * string name = 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 @@ -85,31 +60,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 resource
    * 
* - * - * string name = 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 { @@ -118,7 +91,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +102,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_); } @@ -154,15 +127,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.storageinsights.v1.GetReportDetailRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.GetReportDetailRequest other = - (com.google.cloud.storageinsights.v1.GetReportDetailRequest) obj; + com.google.cloud.storageinsights.v1.GetReportDetailRequest other = (com.google.cloud.storageinsights.v1.GetReportDetailRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,136 +155,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.GetReportDetailRequest 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.storageinsights.v1.GetReportDetailRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.GetReportDetailRequest prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.GetReportDetailRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for getting a ReportDetail
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.GetReportDetailRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.GetReportDetailRequest) com.google.cloud.storageinsights.v1.GetReportDetailRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, - com.google.cloud.storageinsights.v1.GetReportDetailRequest.Builder.class); + com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, com.google.cloud.storageinsights.v1.GetReportDetailRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.GetReportDetailRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; } @java.lang.Override @@ -342,11 +310,8 @@ public com.google.cloud.storageinsights.v1.GetReportDetailRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.GetReportDetailRequest buildPartial() { - com.google.cloud.storageinsights.v1.GetReportDetailRequest result = - new com.google.cloud.storageinsights.v1.GetReportDetailRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.GetReportDetailRequest result = new com.google.cloud.storageinsights.v1.GetReportDetailRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,39 +327,38 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.GetReportDetailRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.GetReportDetailRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.GetReportDetailRequest) other); + return mergeFrom((com.google.cloud.storageinsights.v1.GetReportDetailRequest)other); } else { super.mergeFrom(other); return this; @@ -402,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.GetReportDetailRequest other) { - if (other == com.google.cloud.storageinsights.v1.GetReportDetailRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.GetReportDetailRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -435,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,27 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 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; @@ -486,23 +442,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 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 { @@ -510,39 +463,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string 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() { @@ -552,32 +494,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.GetReportDetailRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.GetReportDetailRequest) private static final com.google.cloud.storageinsights.v1.GetReportDetailRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.GetReportDetailRequest(); } @@ -601,27 +537,27 @@ public static com.google.cloud.storageinsights.v1.GetReportDetailRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetReportDetailRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetReportDetailRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.GetReportDetailRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java new file mode 100644 index 000000000000..a24b1fbf30f0 --- /dev/null +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public interface GetReportDetailRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.GetReportDetailRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the resource
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the resource
+   * 
+ * + * 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/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java similarity index 67% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java index 598306d16d7d..832ac4d4b743 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message for requesting list of ReportConfigs
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportConfigsRequest} */ -public final class ListReportConfigsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListReportConfigsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ListReportConfigsRequest) ListReportConfigsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListReportConfigsRequest.newBuilder() to construct. private ListReportConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListReportConfigsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListReportConfigsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListReportConfigsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, - com.google.cloud.storageinsights.v1.ListReportConfigsRequest.Builder.class); + com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, com.google.cloud.storageinsights.v1.ListReportConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent value for ListReportConfigsRequest
    * 
* - * - * 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 @@ -88,31 +63,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. Parent value for ListReportConfigsRequest
    * 
* - * - * 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 { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,18 +110,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +126,29 @@ 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 token identifying a page of results the server should return.
    * 
* * 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 { @@ -191,18 +157,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -211,29 +173,29 @@ 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; } } /** - * - * *
    * Filtering results
    * 
* * 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 { @@ -242,18 +204,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -262,29 +220,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -293,7 +251,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +262,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_); } @@ -334,7 +292,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_); @@ -353,19 +312,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.storageinsights.v1.ListReportConfigsRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ListReportConfigsRequest other = - (com.google.cloud.storageinsights.v1.ListReportConfigsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.storageinsights.v1.ListReportConfigsRequest other = (com.google.cloud.storageinsights.v1.ListReportConfigsRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,136 +356,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest 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.storageinsights.v1.ListReportConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ListReportConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for requesting list of ReportConfigs
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportConfigsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ListReportConfigsRequest) com.google.cloud.storageinsights.v1.ListReportConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, - com.google.cloud.storageinsights.v1.ListReportConfigsRequest.Builder.class); + com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, com.google.cloud.storageinsights.v1.ListReportConfigsRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ListReportConfigsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -536,14 +494,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.ListReportConfigsRequest - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ListReportConfigsRequest getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.ListReportConfigsRequest.getDefaultInstance(); } @@ -558,17 +515,13 @@ public com.google.cloud.storageinsights.v1.ListReportConfigsRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ListReportConfigsRequest buildPartial() { - com.google.cloud.storageinsights.v1.ListReportConfigsRequest result = - new com.google.cloud.storageinsights.v1.ListReportConfigsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.ListReportConfigsRequest result = new com.google.cloud.storageinsights.v1.ListReportConfigsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest result) { + private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportConfigsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -591,39 +544,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.ListReportConfigsRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.ListReportConfigsRequest) other); + return mergeFrom((com.google.cloud.storageinsights.v1.ListReportConfigsRequest)other); } else { super.mergeFrom(other); return this; @@ -631,9 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportConfigsRequest other) { - if (other - == com.google.cloud.storageinsights.v1.ListReportConfigsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.ListReportConfigsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -683,43 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -729,27 +673,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * - * 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; @@ -758,23 +697,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * - * 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 { @@ -782,39 +718,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * - * 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() { @@ -824,23 +749,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -848,17 +767,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -866,15 +782,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -886,15 +799,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -906,20 +816,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -928,21 +836,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -950,35 +857,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -988,21 +888,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1012,20 +908,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filtering results
      * 
* * 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; @@ -1034,21 +928,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filtering results
      * 
* * 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 { @@ -1056,35 +949,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1094,21 +980,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1118,20 +1000,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1140,21 +1020,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1162,35 +1041,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1200,30 +1072,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1233,13 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ListReportConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ListReportConfigsRequest) - private static final com.google.cloud.storageinsights.v1.ListReportConfigsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.ListReportConfigsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ListReportConfigsRequest(); } @@ -1248,27 +1115,27 @@ public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1283,4 +1150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ListReportConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java similarity index 60% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java index 11c5f5cc4478..13a73e47c552 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ListReportConfigsRequestOrBuilder - extends +public interface ListReportConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ListReportConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent value for ListReportConfigsRequest
    * 
* - * - * 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. Parent value for ListReportConfigsRequest
    * 
* - * - * 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(); /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java similarity index 72% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java index c7ab8a2e4b6b..2ae95437cb74 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message for response to listing ReportConfigs
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportConfigsResponse} */ -public final class ListReportConfigsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListReportConfigsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ListReportConfigsResponse) ListReportConfigsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListReportConfigsResponse.newBuilder() to construct. private ListReportConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListReportConfigsResponse() { reportConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListReportConfigsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, - com.google.cloud.storageinsights.v1.ListReportConfigsResponse.Builder.class); + com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, com.google.cloud.storageinsights.v1.ListReportConfigsResponse.Builder.class); } public static final int REPORT_CONFIGS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List reportConfigs_; /** - * - * *
    * The list of ReportConfig
    * 
@@ -82,8 +61,6 @@ public java.util.List getRepor return reportConfigs_; } /** - * - * *
    * The list of ReportConfig
    * 
@@ -91,13 +68,11 @@ public java.util.List getRepor * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReportConfigsOrBuilderList() { return reportConfigs_; } /** - * - * *
    * The list of ReportConfig
    * 
@@ -109,8 +84,6 @@ public int getReportConfigsCount() { return reportConfigs_.size(); } /** - * - * *
    * The list of ReportConfig
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.storageinsights.v1.ReportConfig getReportConfigs(int ind return reportConfigs_.get(index); } /** - * - * *
    * The list of ReportConfig
    * 
@@ -137,18 +108,14 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,29 +124,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 token identifying a page of results the server should return.
    * 
* * 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 { @@ -188,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -236,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +219,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 < reportConfigs_.size(); i++) { output.writeMessage(1, reportConfigs_.get(i)); } @@ -284,7 +240,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < reportConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reportConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, reportConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -305,17 +262,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.storageinsights.v1.ListReportConfigsResponse)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ListReportConfigsResponse other = - (com.google.cloud.storageinsights.v1.ListReportConfigsResponse) obj; + com.google.cloud.storageinsights.v1.ListReportConfigsResponse other = (com.google.cloud.storageinsights.v1.ListReportConfigsResponse) obj; - if (!getReportConfigsList().equals(other.getReportConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getReportConfigsList() + .equals(other.getReportConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -343,136 +302,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse 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.storageinsights.v1.ListReportConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ListReportConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for response to listing ReportConfigs
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportConfigsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ListReportConfigsResponse) com.google.cloud.storageinsights.v1.ListReportConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, - com.google.cloud.storageinsights.v1.ListReportConfigsResponse.Builder.class); + com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, com.google.cloud.storageinsights.v1.ListReportConfigsResponse.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ListReportConfigsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -485,19 +439,19 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.ListReportConfigsResponse - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ListReportConfigsResponse getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.ListReportConfigsResponse.getDefaultInstance(); } @@ -512,18 +466,14 @@ public com.google.cloud.storageinsights.v1.ListReportConfigsResponse build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ListReportConfigsResponse buildPartial() { - com.google.cloud.storageinsights.v1.ListReportConfigsResponse result = - new com.google.cloud.storageinsights.v1.ListReportConfigsResponse(this); + com.google.cloud.storageinsights.v1.ListReportConfigsResponse result = new com.google.cloud.storageinsights.v1.ListReportConfigsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.storageinsights.v1.ListReportConfigsResponse result) { if (reportConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { reportConfigs_ = java.util.Collections.unmodifiableList(reportConfigs_); @@ -535,8 +485,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse result) { + private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportConfigsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -551,39 +500,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.ListReportConfigsResponse) { - return mergeFrom((com.google.cloud.storageinsights.v1.ListReportConfigsResponse) other); + return mergeFrom((com.google.cloud.storageinsights.v1.ListReportConfigsResponse)other); } else { super.mergeFrom(other); return this; @@ -591,9 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportConfigsResponse other) { - if (other - == com.google.cloud.storageinsights.v1.ListReportConfigsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.ListReportConfigsResponse.getDefaultInstance()) return this; if (reportConfigsBuilder_ == null) { if (!other.reportConfigs_.isEmpty()) { if (reportConfigs_.isEmpty()) { @@ -612,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportConfigsRe reportConfigsBuilder_ = null; reportConfigs_ = other.reportConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - reportConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReportConfigsFieldBuilder() - : null; + reportConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReportConfigsFieldBuilder() : null; } else { reportConfigsBuilder_.addAllMessages(other.reportConfigs_); } @@ -662,40 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.storageinsights.v1.ReportConfig m = - input.readMessage( - com.google.cloud.storageinsights.v1.ReportConfig.parser(), - extensionRegistry); - if (reportConfigsBuilder_ == null) { - ensureReportConfigsIsMutable(); - reportConfigs_.add(m); - } else { - reportConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.storageinsights.v1.ReportConfig m = + input.readMessage( + com.google.cloud.storageinsights.v1.ReportConfig.parser(), + extensionRegistry); + if (reportConfigsBuilder_ == null) { + ensureReportConfigsIsMutable(); + reportConfigs_.add(m); + } else { + reportConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -705,30 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List reportConfigs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReportConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - reportConfigs_ = - new java.util.ArrayList( - reportConfigs_); + reportConfigs_ = new java.util.ArrayList(reportConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> - reportConfigsBuilder_; + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> reportConfigsBuilder_; /** - * - * *
      * The list of ReportConfig
      * 
@@ -743,8 +675,6 @@ public java.util.List getRepor } } /** - * - * *
      * The list of ReportConfig
      * 
@@ -759,8 +689,6 @@ public int getReportConfigsCount() { } } /** - * - * *
      * The list of ReportConfig
      * 
@@ -775,8 +703,6 @@ public com.google.cloud.storageinsights.v1.ReportConfig getReportConfigs(int ind } } /** - * - * *
      * The list of ReportConfig
      * 
@@ -798,8 +724,6 @@ public Builder setReportConfigs( return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -818,8 +742,6 @@ public Builder setReportConfigs( return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -840,8 +762,6 @@ public Builder addReportConfigs(com.google.cloud.storageinsights.v1.ReportConfig return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -863,8 +783,6 @@ public Builder addReportConfigs( return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -883,8 +801,6 @@ public Builder addReportConfigs( return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -903,8 +819,6 @@ public Builder addReportConfigs( return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -915,7 +829,8 @@ public Builder addAllReportConfigs( java.lang.Iterable values) { if (reportConfigsBuilder_ == null) { ensureReportConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reportConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reportConfigs_); onChanged(); } else { reportConfigsBuilder_.addAllMessages(values); @@ -923,8 +838,6 @@ public Builder addAllReportConfigs( return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -942,8 +855,6 @@ public Builder clearReportConfigs() { return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -961,8 +872,6 @@ public Builder removeReportConfigs(int index) { return this; } /** - * - * *
      * The list of ReportConfig
      * 
@@ -974,8 +883,6 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigs return getReportConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of ReportConfig
      * 
@@ -985,22 +892,19 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigs public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigsOrBuilder( int index) { if (reportConfigsBuilder_ == null) { - return reportConfigs_.get(index); - } else { + return reportConfigs_.get(index); } else { return reportConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of ReportConfig
      * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - public java.util.List - getReportConfigsOrBuilderList() { + public java.util.List + getReportConfigsOrBuilderList() { if (reportConfigsBuilder_ != null) { return reportConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -1008,8 +912,6 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig } } /** - * - * *
      * The list of ReportConfig
      * 
@@ -1017,12 +919,10 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ public com.google.cloud.storageinsights.v1.ReportConfig.Builder addReportConfigsBuilder() { - return getReportConfigsFieldBuilder() - .addBuilder(com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()); + return getReportConfigsFieldBuilder().addBuilder( + com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()); } /** - * - * *
      * The list of ReportConfig
      * 
@@ -1031,34 +931,26 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder addReportConfigs */ public com.google.cloud.storageinsights.v1.ReportConfig.Builder addReportConfigsBuilder( int index) { - return getReportConfigsFieldBuilder() - .addBuilder(index, com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()); + return getReportConfigsFieldBuilder().addBuilder( + index, com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()); } /** - * - * *
      * The list of ReportConfig
      * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - public java.util.List - getReportConfigsBuilderList() { + public java.util.List + getReportConfigsBuilderList() { return getReportConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> getReportConfigsFieldBuilder() { if (reportConfigsBuilder_ == null) { - reportConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( + reportConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( reportConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1070,20 +962,18 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder addReportConfigs private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1092,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1114,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1152,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1176,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1184,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1228,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1266,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1288,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1347,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString 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); } @@ -1359,13 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ListReportConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ListReportConfigsResponse) - private static final com.google.cloud.storageinsights.v1.ListReportConfigsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.ListReportConfigsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ListReportConfigsResponse(); } @@ -1374,27 +1224,27 @@ public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1409,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.ListReportConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java similarity index 72% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java index ef8c007fe9bc..b81e1f6ae601 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ListReportConfigsResponseOrBuilder - extends +public interface ListReportConfigsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ListReportConfigsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of ReportConfig
    * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - java.util.List getReportConfigsList(); + java.util.List + getReportConfigsList(); /** - * - * *
    * The list of ReportConfig
    * 
@@ -44,8 +25,6 @@ public interface ListReportConfigsResponseOrBuilder */ com.google.cloud.storageinsights.v1.ReportConfig getReportConfigs(int index); /** - * - * *
    * The list of ReportConfig
    * 
@@ -54,100 +33,82 @@ public interface ListReportConfigsResponseOrBuilder */ int getReportConfigsCount(); /** - * - * *
    * The list of ReportConfig
    * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - java.util.List + java.util.List getReportConfigsOrBuilderList(); /** - * - * *
    * The list of ReportConfig
    * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigsOrBuilder(int index); + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigsOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java similarity index 67% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java index 86c851092db5..ac8ed3f22fb5 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message for requesting list of ReportDetails
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportDetailsRequest} */ -public final class ListReportDetailsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListReportDetailsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ListReportDetailsRequest) ListReportDetailsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListReportDetailsRequest.newBuilder() to construct. private ListReportDetailsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListReportDetailsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListReportDetailsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListReportDetailsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, - com.google.cloud.storageinsights.v1.ListReportDetailsRequest.Builder.class); + com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, com.google.cloud.storageinsights.v1.ListReportDetailsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent value for ListReportDetailsRequest
    * 
* - * - * 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 @@ -88,31 +63,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. Parent value for ListReportDetailsRequest
    * 
* - * - * 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 { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,18 +110,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +126,29 @@ 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 token identifying a page of results the server should return.
    * 
* * 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 { @@ -191,18 +157,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -211,29 +173,29 @@ 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; } } /** - * - * *
    * Filtering results
    * 
* * 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 { @@ -242,18 +204,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -262,29 +220,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -293,7 +251,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +262,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_); } @@ -334,7 +292,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_); @@ -353,19 +312,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.storageinsights.v1.ListReportDetailsRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ListReportDetailsRequest other = - (com.google.cloud.storageinsights.v1.ListReportDetailsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.storageinsights.v1.ListReportDetailsRequest other = (com.google.cloud.storageinsights.v1.ListReportDetailsRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,136 +356,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest 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.storageinsights.v1.ListReportDetailsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ListReportDetailsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for requesting list of ReportDetails
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportDetailsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ListReportDetailsRequest) com.google.cloud.storageinsights.v1.ListReportDetailsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, - com.google.cloud.storageinsights.v1.ListReportDetailsRequest.Builder.class); + com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, com.google.cloud.storageinsights.v1.ListReportDetailsRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ListReportDetailsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -536,14 +494,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.ListReportDetailsRequest - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ListReportDetailsRequest getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.ListReportDetailsRequest.getDefaultInstance(); } @@ -558,17 +515,13 @@ public com.google.cloud.storageinsights.v1.ListReportDetailsRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ListReportDetailsRequest buildPartial() { - com.google.cloud.storageinsights.v1.ListReportDetailsRequest result = - new com.google.cloud.storageinsights.v1.ListReportDetailsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.ListReportDetailsRequest result = new com.google.cloud.storageinsights.v1.ListReportDetailsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest result) { + private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportDetailsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -591,39 +544,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.ListReportDetailsRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.ListReportDetailsRequest) other); + return mergeFrom((com.google.cloud.storageinsights.v1.ListReportDetailsRequest)other); } else { super.mergeFrom(other); return this; @@ -631,9 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportDetailsRequest other) { - if (other - == com.google.cloud.storageinsights.v1.ListReportDetailsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.ListReportDetailsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -683,43 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -729,27 +673,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * - * 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; @@ -758,23 +697,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * - * 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 { @@ -782,39 +718,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * - * 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() { @@ -824,23 +749,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -848,17 +767,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -866,15 +782,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -886,15 +799,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -906,20 +816,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -928,21 +836,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -950,35 +857,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -988,21 +888,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1012,20 +908,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filtering results
      * 
* * 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; @@ -1034,21 +928,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filtering results
      * 
* * 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 { @@ -1056,35 +949,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1094,21 +980,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1118,20 +1000,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1140,21 +1020,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1162,35 +1041,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1200,30 +1072,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1233,13 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ListReportDetailsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ListReportDetailsRequest) - private static final com.google.cloud.storageinsights.v1.ListReportDetailsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.ListReportDetailsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ListReportDetailsRequest(); } @@ -1248,27 +1115,27 @@ public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportDetailsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportDetailsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1283,4 +1150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ListReportDetailsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java similarity index 60% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java index ebf94e4d970f..224cad791672 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ListReportDetailsRequestOrBuilder - extends +public interface ListReportDetailsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ListReportDetailsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent value for ListReportDetailsRequest
    * 
* - * - * 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. Parent value for ListReportDetailsRequest
    * 
* - * - * 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(); /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java similarity index 72% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java index b4cba385636a..ba3d068d810c 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message for response to listing ReportDetails
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportDetailsResponse} */ -public final class ListReportDetailsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListReportDetailsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ListReportDetailsResponse) ListReportDetailsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListReportDetailsResponse.newBuilder() to construct. private ListReportDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListReportDetailsResponse() { reportDetails_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListReportDetailsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, - com.google.cloud.storageinsights.v1.ListReportDetailsResponse.Builder.class); + com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, com.google.cloud.storageinsights.v1.ListReportDetailsResponse.Builder.class); } public static final int REPORT_DETAILS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List reportDetails_; /** - * - * *
    * The list of ReportDetail
    * 
@@ -82,8 +61,6 @@ public java.util.List getRepor return reportDetails_; } /** - * - * *
    * The list of ReportDetail
    * 
@@ -91,13 +68,11 @@ public java.util.List getRepor * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReportDetailsOrBuilderList() { return reportDetails_; } /** - * - * *
    * The list of ReportDetail
    * 
@@ -109,8 +84,6 @@ public int getReportDetailsCount() { return reportDetails_.size(); } /** - * - * *
    * The list of ReportDetail
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.storageinsights.v1.ReportDetail getReportDetails(int ind return reportDetails_.get(index); } /** - * - * *
    * The list of ReportDetail
    * 
@@ -137,18 +108,14 @@ public com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetail } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,29 +124,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 token identifying a page of results the server should return.
    * 
* * 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 { @@ -188,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -236,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +219,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 < reportDetails_.size(); i++) { output.writeMessage(1, reportDetails_.get(i)); } @@ -284,7 +240,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < reportDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reportDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, reportDetails_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -305,17 +262,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.storageinsights.v1.ListReportDetailsResponse)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ListReportDetailsResponse other = - (com.google.cloud.storageinsights.v1.ListReportDetailsResponse) obj; + com.google.cloud.storageinsights.v1.ListReportDetailsResponse other = (com.google.cloud.storageinsights.v1.ListReportDetailsResponse) obj; - if (!getReportDetailsList().equals(other.getReportDetailsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getReportDetailsList() + .equals(other.getReportDetailsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -343,136 +302,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse 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.storageinsights.v1.ListReportDetailsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ListReportDetailsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for response to listing ReportDetails
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportDetailsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ListReportDetailsResponse) com.google.cloud.storageinsights.v1.ListReportDetailsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, - com.google.cloud.storageinsights.v1.ListReportDetailsResponse.Builder.class); + com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, com.google.cloud.storageinsights.v1.ListReportDetailsResponse.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ListReportDetailsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -485,19 +439,19 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.ListReportDetailsResponse - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ListReportDetailsResponse getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.ListReportDetailsResponse.getDefaultInstance(); } @@ -512,18 +466,14 @@ public com.google.cloud.storageinsights.v1.ListReportDetailsResponse build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ListReportDetailsResponse buildPartial() { - com.google.cloud.storageinsights.v1.ListReportDetailsResponse result = - new com.google.cloud.storageinsights.v1.ListReportDetailsResponse(this); + com.google.cloud.storageinsights.v1.ListReportDetailsResponse result = new com.google.cloud.storageinsights.v1.ListReportDetailsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.storageinsights.v1.ListReportDetailsResponse result) { if (reportDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { reportDetails_ = java.util.Collections.unmodifiableList(reportDetails_); @@ -535,8 +485,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse result) { + private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportDetailsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -551,39 +500,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.ListReportDetailsResponse) { - return mergeFrom((com.google.cloud.storageinsights.v1.ListReportDetailsResponse) other); + return mergeFrom((com.google.cloud.storageinsights.v1.ListReportDetailsResponse)other); } else { super.mergeFrom(other); return this; @@ -591,9 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportDetailsResponse other) { - if (other - == com.google.cloud.storageinsights.v1.ListReportDetailsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.ListReportDetailsResponse.getDefaultInstance()) return this; if (reportDetailsBuilder_ == null) { if (!other.reportDetails_.isEmpty()) { if (reportDetails_.isEmpty()) { @@ -612,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportDetailsRe reportDetailsBuilder_ = null; reportDetails_ = other.reportDetails_; bitField0_ = (bitField0_ & ~0x00000001); - reportDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReportDetailsFieldBuilder() - : null; + reportDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReportDetailsFieldBuilder() : null; } else { reportDetailsBuilder_.addAllMessages(other.reportDetails_); } @@ -662,40 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.storageinsights.v1.ReportDetail m = - input.readMessage( - com.google.cloud.storageinsights.v1.ReportDetail.parser(), - extensionRegistry); - if (reportDetailsBuilder_ == null) { - ensureReportDetailsIsMutable(); - reportDetails_.add(m); - } else { - reportDetailsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.storageinsights.v1.ReportDetail m = + input.readMessage( + com.google.cloud.storageinsights.v1.ReportDetail.parser(), + extensionRegistry); + if (reportDetailsBuilder_ == null) { + ensureReportDetailsIsMutable(); + reportDetails_.add(m); + } else { + reportDetailsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -705,30 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List reportDetails_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReportDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - reportDetails_ = - new java.util.ArrayList( - reportDetails_); + reportDetails_ = new java.util.ArrayList(reportDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail, - com.google.cloud.storageinsights.v1.ReportDetail.Builder, - com.google.cloud.storageinsights.v1.ReportDetailOrBuilder> - reportDetailsBuilder_; + com.google.cloud.storageinsights.v1.ReportDetail, com.google.cloud.storageinsights.v1.ReportDetail.Builder, com.google.cloud.storageinsights.v1.ReportDetailOrBuilder> reportDetailsBuilder_; /** - * - * *
      * The list of ReportDetail
      * 
@@ -743,8 +675,6 @@ public java.util.List getRepor } } /** - * - * *
      * The list of ReportDetail
      * 
@@ -759,8 +689,6 @@ public int getReportDetailsCount() { } } /** - * - * *
      * The list of ReportDetail
      * 
@@ -775,8 +703,6 @@ public com.google.cloud.storageinsights.v1.ReportDetail getReportDetails(int ind } } /** - * - * *
      * The list of ReportDetail
      * 
@@ -798,8 +724,6 @@ public Builder setReportDetails( return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -818,8 +742,6 @@ public Builder setReportDetails( return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -840,8 +762,6 @@ public Builder addReportDetails(com.google.cloud.storageinsights.v1.ReportDetail return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -863,8 +783,6 @@ public Builder addReportDetails( return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -883,8 +801,6 @@ public Builder addReportDetails( return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -903,8 +819,6 @@ public Builder addReportDetails( return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -915,7 +829,8 @@ public Builder addAllReportDetails( java.lang.Iterable values) { if (reportDetailsBuilder_ == null) { ensureReportDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reportDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reportDetails_); onChanged(); } else { reportDetailsBuilder_.addAllMessages(values); @@ -923,8 +838,6 @@ public Builder addAllReportDetails( return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -942,8 +855,6 @@ public Builder clearReportDetails() { return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -961,8 +872,6 @@ public Builder removeReportDetails(int index) { return this; } /** - * - * *
      * The list of ReportDetail
      * 
@@ -974,8 +883,6 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Builder getReportDetails return getReportDetailsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of ReportDetail
      * 
@@ -985,22 +892,19 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Builder getReportDetails public com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetailsOrBuilder( int index) { if (reportDetailsBuilder_ == null) { - return reportDetails_.get(index); - } else { + return reportDetails_.get(index); } else { return reportDetailsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of ReportDetail
      * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - public java.util.List - getReportDetailsOrBuilderList() { + public java.util.List + getReportDetailsOrBuilderList() { if (reportDetailsBuilder_ != null) { return reportDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -1008,8 +912,6 @@ public com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetail } } /** - * - * *
      * The list of ReportDetail
      * 
@@ -1017,12 +919,10 @@ public com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetail * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ public com.google.cloud.storageinsights.v1.ReportDetail.Builder addReportDetailsBuilder() { - return getReportDetailsFieldBuilder() - .addBuilder(com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()); + return getReportDetailsFieldBuilder().addBuilder( + com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()); } /** - * - * *
      * The list of ReportDetail
      * 
@@ -1031,34 +931,26 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Builder addReportDetails */ public com.google.cloud.storageinsights.v1.ReportDetail.Builder addReportDetailsBuilder( int index) { - return getReportDetailsFieldBuilder() - .addBuilder(index, com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()); + return getReportDetailsFieldBuilder().addBuilder( + index, com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()); } /** - * - * *
      * The list of ReportDetail
      * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - public java.util.List - getReportDetailsBuilderList() { + public java.util.List + getReportDetailsBuilderList() { return getReportDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail, - com.google.cloud.storageinsights.v1.ReportDetail.Builder, - com.google.cloud.storageinsights.v1.ReportDetailOrBuilder> + com.google.cloud.storageinsights.v1.ReportDetail, com.google.cloud.storageinsights.v1.ReportDetail.Builder, com.google.cloud.storageinsights.v1.ReportDetailOrBuilder> getReportDetailsFieldBuilder() { if (reportDetailsBuilder_ == null) { - reportDetailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail, - com.google.cloud.storageinsights.v1.ReportDetail.Builder, - com.google.cloud.storageinsights.v1.ReportDetailOrBuilder>( + reportDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportDetail, com.google.cloud.storageinsights.v1.ReportDetail.Builder, com.google.cloud.storageinsights.v1.ReportDetailOrBuilder>( reportDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1070,20 +962,18 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Builder addReportDetails private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1092,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1114,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1152,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1176,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1184,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1228,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1266,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1288,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1347,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString 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); } @@ -1359,13 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ListReportDetailsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ListReportDetailsResponse) - private static final com.google.cloud.storageinsights.v1.ListReportDetailsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.ListReportDetailsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ListReportDetailsResponse(); } @@ -1374,27 +1224,27 @@ public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportDetailsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportDetailsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1409,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.ListReportDetailsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java similarity index 72% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java index 3912a383fca3..9ea2b677877d 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ListReportDetailsResponseOrBuilder - extends +public interface ListReportDetailsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ListReportDetailsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of ReportDetail
    * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - java.util.List getReportDetailsList(); + java.util.List + getReportDetailsList(); /** - * - * *
    * The list of ReportDetail
    * 
@@ -44,8 +25,6 @@ public interface ListReportDetailsResponseOrBuilder */ com.google.cloud.storageinsights.v1.ReportDetail getReportDetails(int index); /** - * - * *
    * The list of ReportDetail
    * 
@@ -54,100 +33,82 @@ public interface ListReportDetailsResponseOrBuilder */ int getReportDetailsCount(); /** - * - * *
    * The list of ReportDetail
    * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - java.util.List + java.util.List getReportDetailsOrBuilderList(); /** - * - * *
    * The list of ReportDetail
    * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetailsOrBuilder(int index); + com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetailsOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java similarity index 100% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java similarity index 64% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java index 13f62511915e..4b5046cbc9f0 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Report specification for exporting object metadata.
  * Next ID: 4
@@ -28,54 +11,49 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.ObjectMetadataReportOptions}
  */
-public final class ObjectMetadataReportOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ObjectMetadataReportOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ObjectMetadataReportOptions)
     ObjectMetadataReportOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ObjectMetadataReportOptions.newBuilder() to construct.
   private ObjectMetadataReportOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ObjectMetadataReportOptions() {
-    metadataFields_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    metadataFields_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ObjectMetadataReportOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.class,
-            com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder.class);
+            com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.class, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder.class);
   }
 
   private int filterCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object filter_;
-
   public enum FilterCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STORAGE_FILTERS(2),
     FILTER_NOT_SET(0);
     private final int value;
-
     private FilterCase(int value) {
       this.value = value;
     }
@@ -91,37 +69,31 @@ public static FilterCase valueOf(int value) {
 
     public static FilterCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return STORAGE_FILTERS;
-        case 0:
-          return FILTER_NOT_SET;
-        default:
-          return null;
+        case 2: return STORAGE_FILTERS;
+        case 0: return FILTER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public FilterCase getFilterCase() {
-    return FilterCase.forNumber(filterCase_);
+  public FilterCase
+  getFilterCase() {
+    return FilterCase.forNumber(
+        filterCase_);
   }
 
   private int destinationOptionsCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object destinationOptions_;
-
   public enum DestinationOptionsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STORAGE_DESTINATION_OPTIONS(3),
     DESTINATIONOPTIONS_NOT_SET(0);
     private final int value;
-
     private DestinationOptionsCase(int value) {
       this.value = value;
     }
@@ -137,66 +109,55 @@ public static DestinationOptionsCase valueOf(int value) {
 
     public static DestinationOptionsCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return STORAGE_DESTINATION_OPTIONS;
-        case 0:
-          return DESTINATIONOPTIONS_NOT_SET;
-        default:
-          return null;
+        case 3: return STORAGE_DESTINATION_OPTIONS;
+        case 0: return DESTINATIONOPTIONS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationOptionsCase getDestinationOptionsCase() {
-    return DestinationOptionsCase.forNumber(destinationOptionsCase_);
+  public DestinationOptionsCase
+  getDestinationOptionsCase() {
+    return DestinationOptionsCase.forNumber(
+        destinationOptionsCase_);
   }
 
   public static final int METADATA_FIELDS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList metadataFields_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
-   *
-   *
    * 
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; - * * @return A list containing the metadataFields. */ - public com.google.protobuf.ProtocolStringList getMetadataFieldsList() { + public com.google.protobuf.ProtocolStringList + getMetadataFieldsList() { return metadataFields_; } /** - * - * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; - * * @return The count of metadataFields. */ public int getMetadataFieldsCount() { return metadataFields_.size(); } /** - * - * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; - * * @param index The index of the element to return. * @return The metadataFields at the given index. */ @@ -204,31 +165,26 @@ public java.lang.String getMetadataFields(int index) { return metadataFields_.get(index); } /** - * - * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; - * * @param index The index of the value to return. * @return The bytes of the metadataFields at the given index. */ - public com.google.protobuf.ByteString getMetadataFieldsBytes(int index) { + public com.google.protobuf.ByteString + getMetadataFieldsBytes(int index) { return metadataFields_.getByteString(index); } public static final int STORAGE_FILTERS_FIELD_NUMBER = 2; /** - * - * *
    * Cloud Storage as the storage system.
    * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; - * * @return Whether the storageFilters field is set. */ @java.lang.Override @@ -236,26 +192,21 @@ public boolean hasStorageFilters() { return filterCase_ == 2; } /** - * - * *
    * Cloud Storage as the storage system.
    * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; - * * @return The storageFilters. */ @java.lang.Override public com.google.cloud.storageinsights.v1.CloudStorageFilters getStorageFilters() { if (filterCase_ == 2) { - return (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_; + return (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_; } return com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance(); } /** - * - * *
    * Cloud Storage as the storage system.
    * 
@@ -263,26 +214,20 @@ public com.google.cloud.storageinsights.v1.CloudStorageFilters getStorageFilters * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder - getStorageFiltersOrBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStorageFiltersOrBuilder() { if (filterCase_ == 2) { - return (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_; + return (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_; } return com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance(); } public static final int STORAGE_DESTINATION_OPTIONS_FIELD_NUMBER = 3; /** - * - * *
    * Cloud Storage as the storage system.
    * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; * @return Whether the storageDestinationOptions field is set. */ @java.lang.Override @@ -290,50 +235,36 @@ public boolean hasStorageDestinationOptions() { return destinationOptionsCase_ == 3; } /** - * - * *
    * Cloud Storage as the storage system.
    * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; * @return The storageDestinationOptions. */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - getStorageDestinationOptions() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getStorageDestinationOptions() { if (destinationOptionsCase_ == 3) { - return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - destinationOptions_; + return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_; } return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); } /** - * - * *
    * Cloud Storage as the storage system.
    * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder - getStorageDestinationOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder getStorageDestinationOptionsOrBuilder() { if (destinationOptionsCase_ == 3) { - return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - destinationOptions_; + return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_; } return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,7 +276,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 < metadataFields_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metadataFields_.getRaw(i)); } @@ -353,9 +285,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_); } if (destinationOptionsCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_); + output.writeMessage(3, (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_); } getUnknownFields().writeTo(output); } @@ -375,16 +305,12 @@ public int getSerializedSize() { size += 1 * getMetadataFieldsList().size(); } if (filterCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_); } if (destinationOptionsCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - destinationOptions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -394,19 +320,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.storageinsights.v1.ObjectMetadataReportOptions)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions other = - (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) obj; + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions other = (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) obj; - if (!getMetadataFieldsList().equals(other.getMetadataFieldsList())) return false; + if (!getMetadataFieldsList() + .equals(other.getMetadataFieldsList())) return false; if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 2: - if (!getStorageFilters().equals(other.getStorageFilters())) return false; + if (!getStorageFilters() + .equals(other.getStorageFilters())) return false; break; case 0: default: @@ -414,8 +341,8 @@ public boolean equals(final java.lang.Object obj) { if (!getDestinationOptionsCase().equals(other.getDestinationOptionsCase())) return false; switch (destinationOptionsCase_) { case 3: - if (!getStorageDestinationOptions().equals(other.getStorageDestinationOptions())) - return false; + if (!getStorageDestinationOptions() + .equals(other.getStorageDestinationOptions())) return false; break; case 0: default: @@ -457,104 +384,98 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions 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.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Report specification for exporting object metadata.
    * Next ID: 4
@@ -562,37 +483,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.ObjectMetadataReportOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ObjectMetadataReportOptions)
       com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.class,
-              com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder.class);
+              com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.class, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      metadataFields_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      metadataFields_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       if (storageFiltersBuilder_ != null) {
         storageFiltersBuilder_.clear();
       }
@@ -607,14 +530,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions
-        getDefaultInstanceForType() {
+    public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getDefaultInstanceForType() {
       return com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance();
     }
 
@@ -629,18 +551,14 @@ public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions buildPartial() {
-      com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result =
-          new com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result = new com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result) {
+    private void buildPartial0(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         metadataFields_.makeImmutable();
@@ -648,16 +566,17 @@ private void buildPartial0(
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result) {
+    private void buildPartialOneofs(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result) {
       result.filterCase_ = filterCase_;
       result.filter_ = this.filter_;
-      if (filterCase_ == 2 && storageFiltersBuilder_ != null) {
+      if (filterCase_ == 2 &&
+          storageFiltersBuilder_ != null) {
         result.filter_ = storageFiltersBuilder_.build();
       }
       result.destinationOptionsCase_ = destinationOptionsCase_;
       result.destinationOptions_ = this.destinationOptions_;
-      if (destinationOptionsCase_ == 3 && storageDestinationOptionsBuilder_ != null) {
+      if (destinationOptionsCase_ == 3 &&
+          storageDestinationOptionsBuilder_ != null) {
         result.destinationOptions_ = storageDestinationOptionsBuilder_.build();
       }
     }
@@ -666,50 +585,46 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.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.storageinsights.v1.ObjectMetadataReportOptions) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions other) {
-      if (other
-          == com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions other) {
+      if (other == com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance()) return this;
       if (!other.metadataFields_.isEmpty()) {
         if (metadataFields_.isEmpty()) {
           metadataFields_ = other.metadataFields_;
@@ -721,26 +636,22 @@ public Builder mergeFrom(
         onChanged();
       }
       switch (other.getFilterCase()) {
-        case STORAGE_FILTERS:
-          {
-            mergeStorageFilters(other.getStorageFilters());
-            break;
-          }
-        case FILTER_NOT_SET:
-          {
-            break;
-          }
+        case STORAGE_FILTERS: {
+          mergeStorageFilters(other.getStorageFilters());
+          break;
+        }
+        case FILTER_NOT_SET: {
+          break;
+        }
       }
       switch (other.getDestinationOptionsCase()) {
-        case STORAGE_DESTINATION_OPTIONS:
-          {
-            mergeStorageDestinationOptions(other.getStorageDestinationOptions());
-            break;
-          }
-        case DESTINATIONOPTIONS_NOT_SET:
-          {
-            break;
-          }
+        case STORAGE_DESTINATION_OPTIONS: {
+          mergeStorageDestinationOptions(other.getStorageDestinationOptions());
+          break;
+        }
+        case DESTINATIONOPTIONS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -768,33 +679,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureMetadataFieldsIsMutable();
-                metadataFields_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStorageFiltersFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getStorageDestinationOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                destinationOptionsCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureMetadataFieldsIsMutable();
+              metadataFields_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStorageFiltersFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStorageDestinationOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              destinationOptionsCase_ = 3;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -804,12 +714,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int filterCase_ = 0;
     private java.lang.Object filter_;
-
-    public FilterCase getFilterCase() {
-      return FilterCase.forNumber(filterCase_);
+    public FilterCase
+        getFilterCase() {
+      return FilterCase.forNumber(
+          filterCase_);
     }
 
     public Builder clearFilter() {
@@ -821,9 +731,10 @@ public Builder clearFilter() {
 
     private int destinationOptionsCase_ = 0;
     private java.lang.Object destinationOptions_;
-
-    public DestinationOptionsCase getDestinationOptionsCase() {
-      return DestinationOptionsCase.forNumber(destinationOptionsCase_);
+    public DestinationOptionsCase
+        getDestinationOptionsCase() {
+      return DestinationOptionsCase.forNumber(
+          destinationOptionsCase_);
     }
 
     public Builder clearDestinationOptions() {
@@ -837,7 +748,6 @@ public Builder clearDestinationOptions() {
 
     private com.google.protobuf.LazyStringArrayList metadataFields_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
-
     private void ensureMetadataFieldsIsMutable() {
       if (!metadataFields_.isModifiable()) {
         metadataFields_ = new com.google.protobuf.LazyStringArrayList(metadataFields_);
@@ -845,43 +755,35 @@ private void ensureMetadataFieldsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
-     *
-     *
      * 
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @return A list containing the metadataFields. */ - public com.google.protobuf.ProtocolStringList getMetadataFieldsList() { + public com.google.protobuf.ProtocolStringList + getMetadataFieldsList() { metadataFields_.makeImmutable(); return metadataFields_; } /** - * - * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @return The count of metadataFields. */ public int getMetadataFieldsCount() { return metadataFields_.size(); } /** - * - * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @param index The index of the element to return. * @return The metadataFields at the given index. */ @@ -889,37 +791,31 @@ public java.lang.String getMetadataFields(int index) { return metadataFields_.get(index); } /** - * - * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @param index The index of the value to return. * @return The bytes of the metadataFields at the given index. */ - public com.google.protobuf.ByteString getMetadataFieldsBytes(int index) { + public com.google.protobuf.ByteString + getMetadataFieldsBytes(int index) { return metadataFields_.getByteString(index); } /** - * - * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @param index The index to set the value at. * @param value The metadataFields to set. * @return This builder for chaining. */ - public Builder setMetadataFields(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetadataFields( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureMetadataFieldsIsMutable(); metadataFields_.set(index, value); bitField0_ |= 0x00000001; @@ -927,21 +823,17 @@ public Builder setMetadataFields(int index, java.lang.String value) { return this; } /** - * - * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @param value The metadataFields to add. * @return This builder for chaining. */ - public Builder addMetadataFields(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addMetadataFields( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureMetadataFieldsIsMutable(); metadataFields_.add(value); bitField0_ |= 0x00000001; @@ -949,58 +841,50 @@ public Builder addMetadataFields(java.lang.String value) { return this; } /** - * - * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @param values The metadataFields to add. * @return This builder for chaining. */ - public Builder addAllMetadataFields(java.lang.Iterable values) { + public Builder addAllMetadataFields( + java.lang.Iterable values) { ensureMetadataFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metadataFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metadataFields_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @return This builder for chaining. */ public Builder clearMetadataFields() { - metadataFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + metadataFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; - * * @param value The bytes of the metadataFields to add. * @return This builder for chaining. */ - public Builder addMetadataFieldsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addMetadataFieldsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureMetadataFieldsIsMutable(); metadataFields_.add(value); @@ -1010,19 +894,13 @@ public Builder addMetadataFieldsBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageFilters, - com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, - com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder> - storageFiltersBuilder_; + com.google.cloud.storageinsights.v1.CloudStorageFilters, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder> storageFiltersBuilder_; /** - * - * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; - * * @return Whether the storageFilters field is set. */ @java.lang.Override @@ -1030,14 +908,11 @@ public boolean hasStorageFilters() { return filterCase_ == 2; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; - * * @return The storageFilters. */ @java.lang.Override @@ -1055,16 +930,13 @@ public com.google.cloud.storageinsights.v1.CloudStorageFilters getStorageFilters } } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ - public Builder setStorageFilters( - com.google.cloud.storageinsights.v1.CloudStorageFilters value) { + public Builder setStorageFilters(com.google.cloud.storageinsights.v1.CloudStorageFilters value) { if (storageFiltersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1078,8 +950,6 @@ public Builder setStorageFilters( return this; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
@@ -1098,25 +968,18 @@ public Builder setStorageFilters( return this; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ - public Builder mergeStorageFilters( - com.google.cloud.storageinsights.v1.CloudStorageFilters value) { + public Builder mergeStorageFilters(com.google.cloud.storageinsights.v1.CloudStorageFilters value) { if (storageFiltersBuilder_ == null) { - if (filterCase_ == 2 - && filter_ - != com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance()) { - filter_ = - com.google.cloud.storageinsights.v1.CloudStorageFilters.newBuilder( - (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 2 && + filter_ != com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance()) { + filter_ = com.google.cloud.storageinsights.v1.CloudStorageFilters.newBuilder((com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -1132,8 +995,6 @@ public Builder mergeStorageFilters( return this; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
@@ -1157,21 +1018,16 @@ public Builder clearStorageFilters() { return this; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ - public com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder - getStorageFiltersBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder getStorageFiltersBuilder() { return getStorageFiltersFieldBuilder().getBuilder(); } /** - * - * *
      * Cloud Storage as the storage system.
      * 
@@ -1179,8 +1035,7 @@ public Builder clearStorageFilters() { * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder - getStorageFiltersOrBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStorageFiltersOrBuilder() { if ((filterCase_ == 2) && (storageFiltersBuilder_ != null)) { return storageFiltersBuilder_.getMessageOrBuilder(); } else { @@ -1191,8 +1046,6 @@ public Builder clearStorageFilters() { } } /** - * - * *
      * Cloud Storage as the storage system.
      * 
@@ -1200,19 +1053,14 @@ public Builder clearStorageFilters() { * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageFilters, - com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, - com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder> + com.google.cloud.storageinsights.v1.CloudStorageFilters, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder> getStorageFiltersFieldBuilder() { if (storageFiltersBuilder_ == null) { if (!(filterCase_ == 2)) { filter_ = com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance(); } - storageFiltersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageFilters, - com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, - com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder>( + storageFiltersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.CloudStorageFilters, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder>( (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_, getParentForChildren(), isClean()); @@ -1224,21 +1072,13 @@ public Builder clearStorageFilters() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder> - storageDestinationOptionsBuilder_; + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder> storageDestinationOptionsBuilder_; /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; * @return Whether the storageDestinationOptions field is set. */ @java.lang.Override @@ -1246,49 +1086,35 @@ public boolean hasStorageDestinationOptions() { return destinationOptionsCase_ == 3; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; * @return The storageDestinationOptions. */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - getStorageDestinationOptions() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getStorageDestinationOptions() { if (storageDestinationOptionsBuilder_ == null) { if (destinationOptionsCase_ == 3) { - return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - destinationOptions_; + return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_; } - return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - .getDefaultInstance(); + return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); } else { if (destinationOptionsCase_ == 3) { return storageDestinationOptionsBuilder_.getMessage(); } - return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - .getDefaultInstance(); + return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); } } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ - public Builder setStorageDestinationOptions( - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions value) { + public Builder setStorageDestinationOptions(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions value) { if (storageDestinationOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1302,19 +1128,14 @@ public Builder setStorageDestinationOptions( return this; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ public Builder setStorageDestinationOptions( - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder - builderForValue) { + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder builderForValue) { if (storageDestinationOptionsBuilder_ == null) { destinationOptions_ = builderForValue.build(); onChanged(); @@ -1325,29 +1146,18 @@ public Builder setStorageDestinationOptions( return this; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ - public Builder mergeStorageDestinationOptions( - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions value) { + public Builder mergeStorageDestinationOptions(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions value) { if (storageDestinationOptionsBuilder_ == null) { - if (destinationOptionsCase_ == 3 - && destinationOptions_ - != com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - .getDefaultInstance()) { - destinationOptions_ = - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.newBuilder( - (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - destinationOptions_) - .mergeFrom(value) - .buildPartial(); + if (destinationOptionsCase_ == 3 && + destinationOptions_ != com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance()) { + destinationOptions_ = com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.newBuilder((com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_) + .mergeFrom(value).buildPartial(); } else { destinationOptions_ = value; } @@ -1363,15 +1173,11 @@ public Builder mergeStorageDestinationOptions( return this; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ public Builder clearStorageDestinationOptions() { if (storageDestinationOptionsBuilder_ == null) { @@ -1390,74 +1196,50 @@ public Builder clearStorageDestinationOptions() { return this; } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder - getStorageDestinationOptionsBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder getStorageDestinationOptionsBuilder() { return getStorageDestinationOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder - getStorageDestinationOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder getStorageDestinationOptionsOrBuilder() { if ((destinationOptionsCase_ == 3) && (storageDestinationOptionsBuilder_ != null)) { return storageDestinationOptionsBuilder_.getMessageOrBuilder(); } else { if (destinationOptionsCase_ == 3) { - return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - destinationOptions_; + return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_; } - return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - .getDefaultInstance(); + return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); } } /** - * - * *
      * Cloud Storage as the storage system.
      * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder> + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder> getStorageDestinationOptionsFieldBuilder() { if (storageDestinationOptionsBuilder_ == null) { if (!(destinationOptionsCase_ == 3)) { - destinationOptions_ = - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions - .getDefaultInstance(); + destinationOptions_ = com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); } - storageDestinationOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder>( - (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - destinationOptions_, + storageDestinationOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder>( + (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_, getParentForChildren(), isClean()); destinationOptions_ = null; @@ -1466,9 +1248,9 @@ public Builder clearStorageDestinationOptions() { onChanged(); return storageDestinationOptionsBuilder_; } - @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); } @@ -1478,43 +1260,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ObjectMetadataReportOptions) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ObjectMetadataReportOptions) - private static final com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions(); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions - getDefaultInstance() { + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectMetadataReportOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectMetadataReportOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1526,8 +1306,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java similarity index 66% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java index 95fa5436c7eb..a9ec7679e4fd 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java @@ -1,106 +1,72 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ObjectMetadataReportOptionsOrBuilder - extends +public interface ObjectMetadataReportOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ObjectMetadataReportOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; - * * @return A list containing the metadataFields. */ - java.util.List getMetadataFieldsList(); + java.util.List + getMetadataFieldsList(); /** - * - * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; - * * @return The count of metadataFields. */ int getMetadataFieldsCount(); /** - * - * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; - * * @param index The index of the element to return. * @return The metadataFields at the given index. */ java.lang.String getMetadataFields(int index); /** - * - * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; - * * @param index The index of the value to return. * @return The bytes of the metadataFields at the given index. */ - com.google.protobuf.ByteString getMetadataFieldsBytes(int index); + com.google.protobuf.ByteString + getMetadataFieldsBytes(int index); /** - * - * *
    * Cloud Storage as the storage system.
    * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; - * * @return Whether the storageFilters field is set. */ boolean hasStorageFilters(); /** - * - * *
    * Cloud Storage as the storage system.
    * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; - * * @return The storageFilters. */ com.google.cloud.storageinsights.v1.CloudStorageFilters getStorageFilters(); /** - * - * *
    * Cloud Storage as the storage system.
    * 
@@ -110,49 +76,33 @@ public interface ObjectMetadataReportOptionsOrBuilder com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStorageFiltersOrBuilder(); /** - * - * *
    * Cloud Storage as the storage system.
    * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; * @return Whether the storageDestinationOptions field is set. */ boolean hasStorageDestinationOptions(); /** - * - * *
    * Cloud Storage as the storage system.
    * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; * @return The storageDestinationOptions. */ com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getStorageDestinationOptions(); /** - * - * *
    * Cloud Storage as the storage system.
    * 
* - * - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; - * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; */ - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder - getStorageDestinationOptionsOrBuilder(); + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder getStorageDestinationOptionsOrBuilder(); com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.FilterCase getFilterCase(); - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.DestinationOptionsCase - getDestinationOptionsCase(); + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.DestinationOptionsCase getDestinationOptionsCase(); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java similarity index 70% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java index cd83cfc4553d..3b648828abf8 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,37 +28,32 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.OperationMetadata.class, - com.google.cloud.storageinsights.v1.OperationMetadata.Builder.class); + com.google.cloud.storageinsights.v1.OperationMetadata.class, com.google.cloud.storageinsights.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -84,15 +61,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -100,14 +73,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -117,15 +87,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -133,15 +99,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -149,14 +111,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -164,18 +123,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -184,29 +139,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -215,18 +170,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int VERB_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -235,29 +186,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -266,18 +217,14 @@ public com.google.protobuf.ByteString getVerbBytes() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ @java.lang.Override @@ -286,29 +233,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -319,8 +266,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have been cancelled successfully
@@ -330,7 +275,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -339,18 +283,14 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -359,29 +299,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -390,7 +330,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -402,7 +341,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -434,10 +374,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -449,7 +391,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -462,27 +405,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.storageinsights.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.OperationMetadata other = - (com.google.cloud.storageinsights.v1.OperationMetadata) obj; + com.google.cloud.storageinsights.v1.OperationMetadata other = (com.google.cloud.storageinsights.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -509,7 +458,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -518,136 +468,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.OperationMetadata 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.storageinsights.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.OperationMetadata) com.google.cloud.storageinsights.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.OperationMetadata.class, - com.google.cloud.storageinsights.v1.OperationMetadata.Builder.class); + com.google.cloud.storageinsights.v1.OperationMetadata.class, com.google.cloud.storageinsights.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -671,9 +616,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -692,11 +637,8 @@ public com.google.cloud.storageinsights.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.storageinsights.v1.OperationMetadata buildPartial() { - com.google.cloud.storageinsights.v1.OperationMetadata result = - new com.google.cloud.storageinsights.v1.OperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.OperationMetadata result = new com.google.cloud.storageinsights.v1.OperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -704,10 +646,14 @@ public com.google.cloud.storageinsights.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.storageinsights.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -730,39 +676,38 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.OperationMetadata public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.storageinsights.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.storageinsights.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -770,8 +715,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.OperationMetadata other) { - if (other == com.google.cloud.storageinsights.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -827,55 +771,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: - { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -885,63 +825,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.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. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -957,17 +877,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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(); } else { @@ -978,21 +895,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1005,15 +918,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1026,15 +935,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -1042,48 +947,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -1091,35 +984,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1130,14 +1012,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1153,16 +1032,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1173,20 +1050,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1199,14 +1073,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1219,14 +1090,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1234,44 +1102,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.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> 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_; @@ -1279,20 +1139,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1301,21 +1159,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1323,35 +1180,28 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTarget( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1361,21 +1211,17 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1385,20 +1231,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1407,21 +1251,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1429,35 +1272,28 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerb( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } verb_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1467,21 +1303,17 @@ public Builder clearVerb() { return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000008; @@ -1491,20 +1323,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1513,21 +1343,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1535,35 +1364,28 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } statusMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1573,21 +1395,17 @@ public Builder clearStatusMessage() { return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000010; @@ -1595,10 +1413,8 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1608,7 +1424,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1616,8 +1431,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1627,7 +1440,6 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1639,8 +1451,6 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1650,7 +1460,6 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1662,20 +1471,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1684,21 +1491,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1706,35 +1512,28 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1744,30 +1543,26 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000040; 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); } @@ -1777,12 +1572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.OperationMetadata) private static final com.google.cloud.storageinsights.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.OperationMetadata(); } @@ -1791,27 +1586,27 @@ public static com.google.cloud.storageinsights.v1.OperationMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1826,4 +1621,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java similarity index 75% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java index af1e7efd87eb..1c792da3ffcd 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java @@ -1,182 +1,127 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have been cancelled successfully
@@ -186,33 +131,27 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java similarity index 61% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java index abc9306e3eb8..c73581e74a2e 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java @@ -1,67 +1,48 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Options to configure Parquet formatted reports.
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ParquetOptions} */ -public final class ParquetOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ParquetOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ParquetOptions) ParquetOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ParquetOptions.newBuilder() to construct. private ParquetOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ParquetOptions() {} + private ParquetOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ParquetOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ParquetOptions.class, - com.google.cloud.storageinsights.v1.ParquetOptions.Builder.class); + com.google.cloud.storageinsights.v1.ParquetOptions.class, com.google.cloud.storageinsights.v1.ParquetOptions.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,7 +54,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 { getUnknownFields().writeTo(output); } @@ -91,13 +73,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.storageinsights.v1.ParquetOptions)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ParquetOptions other = - (com.google.cloud.storageinsights.v1.ParquetOptions) obj; + com.google.cloud.storageinsights.v1.ParquetOptions other = (com.google.cloud.storageinsights.v1.ParquetOptions) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -116,135 +97,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ParquetOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ParquetOptions 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.storageinsights.v1.ParquetOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ParquetOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Options to configure Parquet formatted reports.
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ParquetOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ParquetOptions) com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ParquetOptions.class, - com.google.cloud.storageinsights.v1.ParquetOptions.Builder.class); + com.google.cloud.storageinsights.v1.ParquetOptions.class, com.google.cloud.storageinsights.v1.ParquetOptions.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ParquetOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -252,9 +229,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; } @java.lang.Override @@ -273,8 +250,7 @@ public com.google.cloud.storageinsights.v1.ParquetOptions build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ParquetOptions buildPartial() { - com.google.cloud.storageinsights.v1.ParquetOptions result = - new com.google.cloud.storageinsights.v1.ParquetOptions(this); + com.google.cloud.storageinsights.v1.ParquetOptions result = new com.google.cloud.storageinsights.v1.ParquetOptions(this); onBuilt(); return result; } @@ -283,39 +259,38 @@ public com.google.cloud.storageinsights.v1.ParquetOptions 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.storageinsights.v1.ParquetOptions) { - return mergeFrom((com.google.cloud.storageinsights.v1.ParquetOptions) other); + return mergeFrom((com.google.cloud.storageinsights.v1.ParquetOptions)other); } else { super.mergeFrom(other); return this; @@ -323,8 +298,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ParquetOptions other) { - if (other == com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -351,13 +325,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -367,9 +340,9 @@ public Builder mergeFrom( } // finally 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); } @@ -379,12 +352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ParquetOptions) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ParquetOptions) private static final com.google.cloud.storageinsights.v1.ParquetOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ParquetOptions(); } @@ -393,27 +366,27 @@ public static com.google.cloud.storageinsights.v1.ParquetOptions getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParquetOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParquetOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -428,4 +401,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ParquetOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java new file mode 100644 index 000000000000..747ba27a2f79 --- /dev/null +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public interface ParquetOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ParquetOptions) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java similarity index 66% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java index 448f620299bb..04a489ce6932 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java @@ -1,44 +1,29 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message describing ReportConfig object. ReportConfig is the configuration to
  * generate reports.
+ * See
+ * https://cloud.google.com/storage/docs/insights/using-inventory-reports#create-config-rest
+ * for more details on how to set various fields.
  * Next ID: 12
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ReportConfig} */ -public final class ReportConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReportConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ReportConfig) ReportConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReportConfig.newBuilder() to construct. private ReportConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReportConfig() { name_ = ""; displayName_ = ""; @@ -46,50 +31,46 @@ private ReportConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReportConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_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 10: 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.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ReportConfig.class, - com.google.cloud.storageinsights.v1.ReportConfig.Builder.class); + com.google.cloud.storageinsights.v1.ReportConfig.class, com.google.cloud.storageinsights.v1.ReportConfig.Builder.class); } private int reportFormatCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object reportFormat_; - public enum ReportFormatCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CSV_OPTIONS(6), PARQUET_OPTIONS(7), REPORTFORMAT_NOT_SET(0); private final int value; - private ReportFormatCase(int value) { this.value = value; } @@ -105,39 +86,32 @@ public static ReportFormatCase valueOf(int value) { public static ReportFormatCase forNumber(int value) { switch (value) { - case 6: - return CSV_OPTIONS; - case 7: - return PARQUET_OPTIONS; - case 0: - return REPORTFORMAT_NOT_SET; - default: - return null; + case 6: return CSV_OPTIONS; + case 7: return PARQUET_OPTIONS; + case 0: return REPORTFORMAT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ReportFormatCase getReportFormatCase() { - return ReportFormatCase.forNumber(reportFormatCase_); + public ReportFormatCase + getReportFormatCase() { + return ReportFormatCase.forNumber( + reportFormatCase_); } private int reportKindCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object reportKind_; - public enum ReportKindCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OBJECT_METADATA_REPORT_OPTIONS(8), REPORTKIND_NOT_SET(0); private final int value; - private ReportKindCase(int value) { this.value = value; } @@ -153,38 +127,32 @@ public static ReportKindCase valueOf(int value) { public static ReportKindCase forNumber(int value) { switch (value) { - case 8: - return OBJECT_METADATA_REPORT_OPTIONS; - case 0: - return REPORTKIND_NOT_SET; - default: - return null; + case 8: return OBJECT_METADATA_REPORT_OPTIONS; + case 0: return REPORTKIND_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ReportKindCase getReportKindCase() { - return ReportKindCase.forNumber(reportKindCase_); + public ReportKindCase + getReportKindCase() { + return ReportKindCase.forNumber( + reportKindCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -193,30 +161,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; } } /** - * - * *
    * name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
    * 
* * 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 { @@ -227,15 +195,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -243,15 +207,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -259,14 +219,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -276,15 +233,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. [Output only] Update time stamp
    * 
* - * .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 @@ -292,15 +245,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. [Output only] Update time stamp
    * 
* - * .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 @@ -308,14 +257,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. [Output only] Update time stamp
    * 
* - * .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() { @@ -325,14 +271,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int FREQUENCY_OPTIONS_FIELD_NUMBER = 5; private com.google.cloud.storageinsights.v1.FrequencyOptions frequencyOptions_; /** - * - * *
    * The frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; - * * @return Whether the frequencyOptions field is set. */ @java.lang.Override @@ -340,25 +283,18 @@ public boolean hasFrequencyOptions() { return frequencyOptions_ != null; } /** - * - * *
    * The frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; - * * @return The frequencyOptions. */ @java.lang.Override public com.google.cloud.storageinsights.v1.FrequencyOptions getFrequencyOptions() { - return frequencyOptions_ == null - ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() - : frequencyOptions_; + return frequencyOptions_ == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() : frequencyOptions_; } /** - * - * *
    * The frequency of report generation.
    * 
@@ -366,23 +302,17 @@ public com.google.cloud.storageinsights.v1.FrequencyOptions getFrequencyOptions( * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder - getFrequencyOptionsOrBuilder() { - return frequencyOptions_ == null - ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() - : frequencyOptions_; + public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder getFrequencyOptionsOrBuilder() { + return frequencyOptions_ == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() : frequencyOptions_; } public static final int CSV_OPTIONS_FIELD_NUMBER = 6; /** - * - * *
    * Options for CSV formatted reports.
    * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; - * * @return Whether the csvOptions field is set. */ @java.lang.Override @@ -390,26 +320,21 @@ public boolean hasCsvOptions() { return reportFormatCase_ == 6; } /** - * - * *
    * Options for CSV formatted reports.
    * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; - * * @return The csvOptions. */ @java.lang.Override public com.google.cloud.storageinsights.v1.CSVOptions getCsvOptions() { if (reportFormatCase_ == 6) { - return (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_; + return (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_; } return com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance(); } /** - * - * *
    * Options for CSV formatted reports.
    * 
@@ -419,21 +344,18 @@ public com.google.cloud.storageinsights.v1.CSVOptions getCsvOptions() { @java.lang.Override public com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBuilder() { if (reportFormatCase_ == 6) { - return (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_; + return (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_; } return com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance(); } public static final int PARQUET_OPTIONS_FIELD_NUMBER = 7; /** - * - * *
    * Options for Parquet formatted reports.
    * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; - * * @return Whether the parquetOptions field is set. */ @java.lang.Override @@ -441,26 +363,21 @@ public boolean hasParquetOptions() { return reportFormatCase_ == 7; } /** - * - * *
    * Options for Parquet formatted reports.
    * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; - * * @return The parquetOptions. */ @java.lang.Override public com.google.cloud.storageinsights.v1.ParquetOptions getParquetOptions() { if (reportFormatCase_ == 7) { - return (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_; + return (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_; } return com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance(); } /** - * - * *
    * Options for Parquet formatted reports.
    * 
@@ -470,23 +387,18 @@ public com.google.cloud.storageinsights.v1.ParquetOptions getParquetOptions() { @java.lang.Override public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOptionsOrBuilder() { if (reportFormatCase_ == 7) { - return (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_; + return (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_; } return com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance(); } public static final int OBJECT_METADATA_REPORT_OPTIONS_FIELD_NUMBER = 8; /** - * - * *
    * Report for exporting object metadata.
    * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; * @return Whether the objectMetadataReportOptions field is set. */ @java.lang.Override @@ -494,75 +406,62 @@ public boolean hasObjectMetadataReportOptions() { return reportKindCase_ == 8; } /** - * - * *
    * Report for exporting object metadata.
    * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; * @return The objectMetadataReportOptions. */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions - getObjectMetadataReportOptions() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getObjectMetadataReportOptions() { if (reportKindCase_ == 8) { - return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; + return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; } return com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance(); } /** - * - * *
    * Report for exporting object metadata.
    * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder - getObjectMetadataReportOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder getObjectMetadataReportOptionsOrBuilder() { if (reportKindCase_ == 8) { - return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; + return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; } return com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance(); } public static final int LABELS_FIELD_NUMBER = 10; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - 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_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -570,21 +469,20 @@ public int getLabelsCount() { * map<string, string> labels = 10; */ @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 as key value pairs
    * 
@@ -596,8 +494,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -605,19 +501,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +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 as key value pairs
    * 
@@ -625,11 +519,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @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(); } @@ -637,19 +531,15 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int DISPLAY_NAME_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User provided display name which can be empty and limited to 256 characters
    * that is editable.
    * 
* * string display_name = 11; - * * @return The displayName. */ @java.lang.Override @@ -658,30 +548,30 @@ 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; } } /** - * - * *
    * User provided display name which can be empty and limited to 256 characters
    * that is editable.
    * 
* * string display_name = 11; - * * @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 { @@ -690,7 +580,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -702,7 +591,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_); } @@ -722,11 +612,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(7, (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_); } if (reportKindCase_ == 8) { - output.writeMessage( - 8, (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); + output.writeMessage(8, (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 10); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, displayName_); } @@ -743,38 +636,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (frequencyOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFrequencyOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFrequencyOptions()); } if (reportFormatCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_); } if (reportFormatCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_); } if (reportKindCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_); - } - 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(10, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_); + } + 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(10, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, displayName_); @@ -787,36 +680,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.storageinsights.v1.ReportConfig)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ReportConfig other = - (com.google.cloud.storageinsights.v1.ReportConfig) obj; + com.google.cloud.storageinsights.v1.ReportConfig other = (com.google.cloud.storageinsights.v1.ReportConfig) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) 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 (hasFrequencyOptions() != other.hasFrequencyOptions()) return false; if (hasFrequencyOptions()) { - if (!getFrequencyOptions().equals(other.getFrequencyOptions())) return false; + if (!getFrequencyOptions() + .equals(other.getFrequencyOptions())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getReportFormatCase().equals(other.getReportFormatCase())) return false; switch (reportFormatCase_) { case 6: - if (!getCsvOptions().equals(other.getCsvOptions())) return false; + if (!getCsvOptions() + .equals(other.getCsvOptions())) return false; break; case 7: - if (!getParquetOptions().equals(other.getParquetOptions())) return false; + if (!getParquetOptions() + .equals(other.getParquetOptions())) return false; break; case 0: default: @@ -824,8 +724,8 @@ public boolean equals(final java.lang.Object obj) { if (!getReportKindCase().equals(other.getReportKindCase())) return false; switch (reportKindCase_) { case 8: - if (!getObjectMetadataReportOptions().equals(other.getObjectMetadataReportOptions())) - return false; + if (!getObjectMetadataReportOptions() + .equals(other.getObjectMetadataReportOptions())) return false; break; case 0: default: @@ -886,158 +786,159 @@ public int hashCode() { return hash; } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ReportConfig 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.storageinsights.v1.ReportConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ReportConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 describing ReportConfig object. ReportConfig is the configuration to
    * generate reports.
+   * See
+   * https://cloud.google.com/storage/docs/insights/using-inventory-reports#create-config-rest
+   * for more details on how to set various fields.
    * Next ID: 12
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ReportConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ReportConfig) com.google.cloud.storageinsights.v1.ReportConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 10: 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 10: 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.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ReportConfig.class, - com.google.cloud.storageinsights.v1.ReportConfig.Builder.class); + com.google.cloud.storageinsights.v1.ReportConfig.class, com.google.cloud.storageinsights.v1.ReportConfig.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ReportConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1077,9 +978,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; } @java.lang.Override @@ -1098,11 +999,8 @@ public com.google.cloud.storageinsights.v1.ReportConfig build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfig buildPartial() { - com.google.cloud.storageinsights.v1.ReportConfig result = - new com.google.cloud.storageinsights.v1.ReportConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.ReportConfig result = new com.google.cloud.storageinsights.v1.ReportConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1114,14 +1012,19 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportConfig resu result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.frequencyOptions_ = - frequencyOptionsBuilder_ == null ? frequencyOptions_ : frequencyOptionsBuilder_.build(); + result.frequencyOptions_ = frequencyOptionsBuilder_ == null + ? frequencyOptions_ + : frequencyOptionsBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.labels_ = internalGetLabels(); @@ -1135,15 +1038,18 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportConfig resu private void buildPartialOneofs(com.google.cloud.storageinsights.v1.ReportConfig result) { result.reportFormatCase_ = reportFormatCase_; result.reportFormat_ = this.reportFormat_; - if (reportFormatCase_ == 6 && csvOptionsBuilder_ != null) { + if (reportFormatCase_ == 6 && + csvOptionsBuilder_ != null) { result.reportFormat_ = csvOptionsBuilder_.build(); } - if (reportFormatCase_ == 7 && parquetOptionsBuilder_ != null) { + if (reportFormatCase_ == 7 && + parquetOptionsBuilder_ != null) { result.reportFormat_ = parquetOptionsBuilder_.build(); } result.reportKindCase_ = reportKindCase_; result.reportKind_ = this.reportKind_; - if (reportKindCase_ == 8 && objectMetadataReportOptionsBuilder_ != null) { + if (reportKindCase_ == 8 && + objectMetadataReportOptionsBuilder_ != null) { result.reportKind_ = objectMetadataReportOptionsBuilder_.build(); } } @@ -1152,39 +1058,38 @@ private void buildPartialOneofs(com.google.cloud.storageinsights.v1.ReportConfig public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.ReportConfig) { - return mergeFrom((com.google.cloud.storageinsights.v1.ReportConfig) other); + return mergeFrom((com.google.cloud.storageinsights.v1.ReportConfig)other); } else { super.mergeFrom(other); return this; @@ -1192,8 +1097,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportConfig other) { - if (other == com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1208,7 +1112,8 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportConfig other) if (other.hasFrequencyOptions()) { mergeFrequencyOptions(other.getFrequencyOptions()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000080; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; @@ -1216,31 +1121,26 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportConfig other) onChanged(); } switch (other.getReportFormatCase()) { - case CSV_OPTIONS: - { - mergeCsvOptions(other.getCsvOptions()); - break; - } - case PARQUET_OPTIONS: - { - mergeParquetOptions(other.getParquetOptions()); - break; - } - case REPORTFORMAT_NOT_SET: - { - break; - } + case CSV_OPTIONS: { + mergeCsvOptions(other.getCsvOptions()); + break; + } + case PARQUET_OPTIONS: { + mergeParquetOptions(other.getParquetOptions()); + break; + } + case REPORTFORMAT_NOT_SET: { + break; + } } switch (other.getReportKindCase()) { - case OBJECT_METADATA_REPORT_OPTIONS: - { - mergeObjectMetadataReportOptions(other.getObjectMetadataReportOptions()); - break; - } - case REPORTKIND_NOT_SET: - { - break; - } + case OBJECT_METADATA_REPORT_OPTIONS: { + mergeObjectMetadataReportOptions(other.getObjectMetadataReportOptions()); + break; + } + case REPORTKIND_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1268,75 +1168,73 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: - { - input.readMessage( - getFrequencyOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: - { - input.readMessage(getCsvOptionsFieldBuilder().getBuilder(), extensionRegistry); - reportFormatCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage(getParquetOptionsFieldBuilder().getBuilder(), extensionRegistry); - reportFormatCase_ = 7; - break; - } // case 58 - case 66: - { - input.readMessage( - getObjectMetadataReportOptionsFieldBuilder().getBuilder(), extensionRegistry); - reportKindCase_ = 8; - break; - } // case 66 - case 82: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 82 - case 90: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 90 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: { + input.readMessage( + getFrequencyOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + input.readMessage( + getCsvOptionsFieldBuilder().getBuilder(), + extensionRegistry); + reportFormatCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getParquetOptionsFieldBuilder().getBuilder(), + extensionRegistry); + reportFormatCase_ = 7; + break; + } // case 58 + case 66: { + input.readMessage( + getObjectMetadataReportOptionsFieldBuilder().getBuilder(), + extensionRegistry); + reportKindCase_ = 8; + break; + } // case 66 + case 82: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 82 + case 90: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1346,12 +1244,12 @@ public Builder mergeFrom( } // finally return this; } - private int reportFormatCase_ = 0; private java.lang.Object reportFormat_; - - public ReportFormatCase getReportFormatCase() { - return ReportFormatCase.forNumber(reportFormatCase_); + public ReportFormatCase + getReportFormatCase() { + return ReportFormatCase.forNumber( + reportFormatCase_); } public Builder clearReportFormat() { @@ -1363,9 +1261,10 @@ public Builder clearReportFormat() { private int reportKindCase_ = 0; private java.lang.Object reportKind_; - - public ReportKindCase getReportKindCase() { - return ReportKindCase.forNumber(reportKindCase_); + public ReportKindCase + getReportKindCase() { + return ReportKindCase.forNumber( + reportKindCase_); } public Builder clearReportKind() { @@ -1379,21 +1278,19 @@ public Builder clearReportKind() { private java.lang.Object name_ = ""; /** - * - * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * 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; @@ -1402,22 +1299,21 @@ public java.lang.String getName() { } } /** - * - * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * 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 { @@ -1425,37 +1321,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1465,22 +1354,18 @@ public Builder clearName() { return this; } /** - * - * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1490,58 +1375,39 @@ public Builder setNameBytes(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. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.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. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1557,17 +1423,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.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(); } else { @@ -1578,21 +1441,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1605,15 +1464,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1626,15 +1481,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1642,48 +1493,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.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. [Output only] Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.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_; @@ -1691,58 +1530,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. [Output only] Update time stamp
      * 
* - * - * .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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. [Output only] Update time stamp
      * 
* - * - * .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. [Output only] Update time stamp
      * 
* - * - * .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) { @@ -1758,17 +1578,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. [Output only] Update time stamp
      * 
* - * - * .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(); } else { @@ -1779,21 +1596,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. [Output only] Update time stamp
      * 
* - * - * .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 (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1806,15 +1619,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. [Output only] Update time stamp
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1827,15 +1636,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. [Output only] Update time stamp
      * 
* - * - * .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() { bitField0_ |= 0x00000004; @@ -1843,48 +1648,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. [Output only] Update time stamp
      * 
* - * - * .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. [Output only] Update time stamp
      * 
* - * - * .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_; @@ -1892,47 +1685,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.storageinsights.v1.FrequencyOptions frequencyOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.FrequencyOptions, - com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, - com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder> - frequencyOptionsBuilder_; + com.google.cloud.storageinsights.v1.FrequencyOptions, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder> frequencyOptionsBuilder_; /** - * - * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; - * * @return Whether the frequencyOptions field is set. */ public boolean hasFrequencyOptions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; - * * @return The frequencyOptions. */ public com.google.cloud.storageinsights.v1.FrequencyOptions getFrequencyOptions() { if (frequencyOptionsBuilder_ == null) { - return frequencyOptions_ == null - ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() - : frequencyOptions_; + return frequencyOptions_ == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() : frequencyOptions_; } else { return frequencyOptionsBuilder_.getMessage(); } } /** - * - * *
      * The frequency of report generation.
      * 
@@ -1953,8 +1733,6 @@ public Builder setFrequencyOptions(com.google.cloud.storageinsights.v1.Frequency return this; } /** - * - * *
      * The frequency of report generation.
      * 
@@ -1973,21 +1751,17 @@ public Builder setFrequencyOptions( return this; } /** - * - * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ - public Builder mergeFrequencyOptions( - com.google.cloud.storageinsights.v1.FrequencyOptions value) { + public Builder mergeFrequencyOptions(com.google.cloud.storageinsights.v1.FrequencyOptions value) { if (frequencyOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && frequencyOptions_ != null - && frequencyOptions_ - != com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + frequencyOptions_ != null && + frequencyOptions_ != com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance()) { getFrequencyOptionsBuilder().mergeFrom(value); } else { frequencyOptions_ = value; @@ -2000,8 +1774,6 @@ public Builder mergeFrequencyOptions( return this; } /** - * - * *
      * The frequency of report generation.
      * 
@@ -2019,42 +1791,33 @@ public Builder clearFrequencyOptions() { return this; } /** - * - * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ - public com.google.cloud.storageinsights.v1.FrequencyOptions.Builder - getFrequencyOptionsBuilder() { + public com.google.cloud.storageinsights.v1.FrequencyOptions.Builder getFrequencyOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getFrequencyOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ - public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder - getFrequencyOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder getFrequencyOptionsOrBuilder() { if (frequencyOptionsBuilder_ != null) { return frequencyOptionsBuilder_.getMessageOrBuilder(); } else { - return frequencyOptions_ == null - ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() - : frequencyOptions_; + return frequencyOptions_ == null ? + com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() : frequencyOptions_; } } /** - * - * *
      * The frequency of report generation.
      * 
@@ -2062,36 +1825,27 @@ public Builder clearFrequencyOptions() { * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.FrequencyOptions, - com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, - com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder> + com.google.cloud.storageinsights.v1.FrequencyOptions, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder> getFrequencyOptionsFieldBuilder() { if (frequencyOptionsBuilder_ == null) { - frequencyOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.FrequencyOptions, - com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, - com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder>( - getFrequencyOptions(), getParentForChildren(), isClean()); + frequencyOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.FrequencyOptions, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder>( + getFrequencyOptions(), + getParentForChildren(), + isClean()); frequencyOptions_ = null; } return frequencyOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CSVOptions, - com.google.cloud.storageinsights.v1.CSVOptions.Builder, - com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder> - csvOptionsBuilder_; + com.google.cloud.storageinsights.v1.CSVOptions, com.google.cloud.storageinsights.v1.CSVOptions.Builder, com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder> csvOptionsBuilder_; /** - * - * *
      * Options for CSV formatted reports.
      * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; - * * @return Whether the csvOptions field is set. */ @java.lang.Override @@ -2099,14 +1853,11 @@ public boolean hasCsvOptions() { return reportFormatCase_ == 6; } /** - * - * *
      * Options for CSV formatted reports.
      * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; - * * @return The csvOptions. */ @java.lang.Override @@ -2124,8 +1875,6 @@ public com.google.cloud.storageinsights.v1.CSVOptions getCsvOptions() { } } /** - * - * *
      * Options for CSV formatted reports.
      * 
@@ -2146,8 +1895,6 @@ public Builder setCsvOptions(com.google.cloud.storageinsights.v1.CSVOptions valu return this; } /** - * - * *
      * Options for CSV formatted reports.
      * 
@@ -2166,8 +1913,6 @@ public Builder setCsvOptions( return this; } /** - * - * *
      * Options for CSV formatted reports.
      * 
@@ -2176,14 +1921,10 @@ public Builder setCsvOptions( */ public Builder mergeCsvOptions(com.google.cloud.storageinsights.v1.CSVOptions value) { if (csvOptionsBuilder_ == null) { - if (reportFormatCase_ == 6 - && reportFormat_ - != com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance()) { - reportFormat_ = - com.google.cloud.storageinsights.v1.CSVOptions.newBuilder( - (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_) - .mergeFrom(value) - .buildPartial(); + if (reportFormatCase_ == 6 && + reportFormat_ != com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance()) { + reportFormat_ = com.google.cloud.storageinsights.v1.CSVOptions.newBuilder((com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_) + .mergeFrom(value).buildPartial(); } else { reportFormat_ = value; } @@ -2199,8 +1940,6 @@ public Builder mergeCsvOptions(com.google.cloud.storageinsights.v1.CSVOptions va return this; } /** - * - * *
      * Options for CSV formatted reports.
      * 
@@ -2224,8 +1963,6 @@ public Builder clearCsvOptions() { return this; } /** - * - * *
      * Options for CSV formatted reports.
      * 
@@ -2236,8 +1973,6 @@ public com.google.cloud.storageinsights.v1.CSVOptions.Builder getCsvOptionsBuild return getCsvOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for CSV formatted reports.
      * 
@@ -2256,8 +1991,6 @@ public com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBu } } /** - * - * *
      * Options for CSV formatted reports.
      * 
@@ -2265,19 +1998,14 @@ public com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBu * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CSVOptions, - com.google.cloud.storageinsights.v1.CSVOptions.Builder, - com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder> + com.google.cloud.storageinsights.v1.CSVOptions, com.google.cloud.storageinsights.v1.CSVOptions.Builder, com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder> getCsvOptionsFieldBuilder() { if (csvOptionsBuilder_ == null) { if (!(reportFormatCase_ == 6)) { reportFormat_ = com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance(); } - csvOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CSVOptions, - com.google.cloud.storageinsights.v1.CSVOptions.Builder, - com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder>( + csvOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.CSVOptions, com.google.cloud.storageinsights.v1.CSVOptions.Builder, com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder>( (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_, getParentForChildren(), isClean()); @@ -2289,19 +2017,13 @@ public com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ParquetOptions, - com.google.cloud.storageinsights.v1.ParquetOptions.Builder, - com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder> - parquetOptionsBuilder_; + com.google.cloud.storageinsights.v1.ParquetOptions, com.google.cloud.storageinsights.v1.ParquetOptions.Builder, com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder> parquetOptionsBuilder_; /** - * - * *
      * Options for Parquet formatted reports.
      * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; - * * @return Whether the parquetOptions field is set. */ @java.lang.Override @@ -2309,14 +2031,11 @@ public boolean hasParquetOptions() { return reportFormatCase_ == 7; } /** - * - * *
      * Options for Parquet formatted reports.
      * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; - * * @return The parquetOptions. */ @java.lang.Override @@ -2334,8 +2053,6 @@ public com.google.cloud.storageinsights.v1.ParquetOptions getParquetOptions() { } } /** - * - * *
      * Options for Parquet formatted reports.
      * 
@@ -2356,8 +2073,6 @@ public Builder setParquetOptions(com.google.cloud.storageinsights.v1.ParquetOpti return this; } /** - * - * *
      * Options for Parquet formatted reports.
      * 
@@ -2376,8 +2091,6 @@ public Builder setParquetOptions( return this; } /** - * - * *
      * Options for Parquet formatted reports.
      * 
@@ -2386,14 +2099,10 @@ public Builder setParquetOptions( */ public Builder mergeParquetOptions(com.google.cloud.storageinsights.v1.ParquetOptions value) { if (parquetOptionsBuilder_ == null) { - if (reportFormatCase_ == 7 - && reportFormat_ - != com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance()) { - reportFormat_ = - com.google.cloud.storageinsights.v1.ParquetOptions.newBuilder( - (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_) - .mergeFrom(value) - .buildPartial(); + if (reportFormatCase_ == 7 && + reportFormat_ != com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance()) { + reportFormat_ = com.google.cloud.storageinsights.v1.ParquetOptions.newBuilder((com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_) + .mergeFrom(value).buildPartial(); } else { reportFormat_ = value; } @@ -2409,8 +2118,6 @@ public Builder mergeParquetOptions(com.google.cloud.storageinsights.v1.ParquetOp return this; } /** - * - * *
      * Options for Parquet formatted reports.
      * 
@@ -2434,8 +2141,6 @@ public Builder clearParquetOptions() { return this; } /** - * - * *
      * Options for Parquet formatted reports.
      * 
@@ -2446,8 +2151,6 @@ public com.google.cloud.storageinsights.v1.ParquetOptions.Builder getParquetOpti return getParquetOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for Parquet formatted reports.
      * 
@@ -2455,8 +2158,7 @@ public com.google.cloud.storageinsights.v1.ParquetOptions.Builder getParquetOpti * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder - getParquetOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOptionsOrBuilder() { if ((reportFormatCase_ == 7) && (parquetOptionsBuilder_ != null)) { return parquetOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2467,8 +2169,6 @@ public com.google.cloud.storageinsights.v1.ParquetOptions.Builder getParquetOpti } } /** - * - * *
      * Options for Parquet formatted reports.
      * 
@@ -2476,19 +2176,14 @@ public com.google.cloud.storageinsights.v1.ParquetOptions.Builder getParquetOpti * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ParquetOptions, - com.google.cloud.storageinsights.v1.ParquetOptions.Builder, - com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder> + com.google.cloud.storageinsights.v1.ParquetOptions, com.google.cloud.storageinsights.v1.ParquetOptions.Builder, com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder> getParquetOptionsFieldBuilder() { if (parquetOptionsBuilder_ == null) { if (!(reportFormatCase_ == 7)) { reportFormat_ = com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance(); } - parquetOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ParquetOptions, - com.google.cloud.storageinsights.v1.ParquetOptions.Builder, - com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder>( + parquetOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ParquetOptions, com.google.cloud.storageinsights.v1.ParquetOptions.Builder, com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder>( (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_, getParentForChildren(), isClean()); @@ -2500,21 +2195,13 @@ public com.google.cloud.storageinsights.v1.ParquetOptions.Builder getParquetOpti } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder> - objectMetadataReportOptionsBuilder_; + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder> objectMetadataReportOptionsBuilder_; /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; * @return Whether the objectMetadataReportOptions field is set. */ @java.lang.Override @@ -2522,21 +2209,15 @@ public boolean hasObjectMetadataReportOptions() { return reportKindCase_ == 8; } /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; * @return The objectMetadataReportOptions. */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions - getObjectMetadataReportOptions() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getObjectMetadataReportOptions() { if (objectMetadataReportOptionsBuilder_ == null) { if (reportKindCase_ == 8) { return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; @@ -2550,18 +2231,13 @@ public boolean hasObjectMetadataReportOptions() { } } /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ - public Builder setObjectMetadataReportOptions( - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions value) { + public Builder setObjectMetadataReportOptions(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions value) { if (objectMetadataReportOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2575,15 +2251,11 @@ public Builder setObjectMetadataReportOptions( return this; } /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ public Builder setObjectMetadataReportOptions( com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder builderForValue) { @@ -2597,28 +2269,18 @@ public Builder setObjectMetadataReportOptions( return this; } /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ - public Builder mergeObjectMetadataReportOptions( - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions value) { + public Builder mergeObjectMetadataReportOptions(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions value) { if (objectMetadataReportOptionsBuilder_ == null) { - if (reportKindCase_ == 8 - && reportKind_ - != com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions - .getDefaultInstance()) { - reportKind_ = - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.newBuilder( - (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_) - .mergeFrom(value) - .buildPartial(); + if (reportKindCase_ == 8 && + reportKind_ != com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance()) { + reportKind_ = com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.newBuilder((com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_) + .mergeFrom(value).buildPartial(); } else { reportKind_ = value; } @@ -2634,15 +2296,11 @@ public Builder mergeObjectMetadataReportOptions( return this; } /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ public Builder clearObjectMetadataReportOptions() { if (objectMetadataReportOptionsBuilder_ == null) { @@ -2661,34 +2319,24 @@ public Builder clearObjectMetadataReportOptions() { return this; } /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder - getObjectMetadataReportOptionsBuilder() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder getObjectMetadataReportOptionsBuilder() { return getObjectMetadataReportOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder - getObjectMetadataReportOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder getObjectMetadataReportOptionsOrBuilder() { if ((reportKindCase_ == 8) && (objectMetadataReportOptionsBuilder_ != null)) { return objectMetadataReportOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2699,31 +2347,21 @@ public Builder clearObjectMetadataReportOptions() { } } /** - * - * *
      * Report for exporting object metadata.
      * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder> + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder> getObjectMetadataReportOptionsFieldBuilder() { if (objectMetadataReportOptionsBuilder_ == null) { if (!(reportKindCase_ == 8)) { - reportKind_ = - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance(); + reportKind_ = com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance(); } - objectMetadataReportOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder>( + objectMetadataReportOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder>( (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_, getParentForChildren(), isClean()); @@ -2734,19 +2372,21 @@ public Builder clearObjectMetadataReportOptions() { return objectMetadataReportOptionsBuilder_; } - 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() { 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(); @@ -2755,13 +2395,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -2769,21 +2406,20 @@ public int getLabelsCount() { * map<string, string> labels = 10; */ @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 as key value pairs
      * 
@@ -2795,8 +2431,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -2804,19 +2438,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +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 as key value pairs
      * 
@@ -2824,96 +2456,92 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @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(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 10; */ - 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() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 10; */ - 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"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + 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"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000080; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 10; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; - * * @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; @@ -2922,22 +2550,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; - * * @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 { @@ -2945,37 +2572,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2985,31 +2605,27 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000100; 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); } @@ -3019,12 +2635,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ReportConfig) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ReportConfig) private static final com.google.cloud.storageinsights.v1.ReportConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ReportConfig(); } @@ -3033,27 +2649,27 @@ public static com.google.cloud.storageinsights.v1.ReportConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReportConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3068,4 +2684,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ReportConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java similarity index 100% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java similarity index 74% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java index baba6a229984..580d5d10f415 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java @@ -1,158 +1,107 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ReportConfigOrBuilder - extends +public interface ReportConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ReportConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. [Output only] Update time stamp
    * 
* - * .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. [Output only] Update time stamp
    * 
* - * .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. [Output only] Update time stamp
    * 
* - * .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(); /** - * - * *
    * The frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; - * * @return Whether the frequencyOptions field is set. */ boolean hasFrequencyOptions(); /** - * - * *
    * The frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; - * * @return The frequencyOptions. */ com.google.cloud.storageinsights.v1.FrequencyOptions getFrequencyOptions(); /** - * - * *
    * The frequency of report generation.
    * 
@@ -162,32 +111,24 @@ public interface ReportConfigOrBuilder com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder getFrequencyOptionsOrBuilder(); /** - * - * *
    * Options for CSV formatted reports.
    * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; - * * @return Whether the csvOptions field is set. */ boolean hasCsvOptions(); /** - * - * *
    * Options for CSV formatted reports.
    * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; - * * @return The csvOptions. */ com.google.cloud.storageinsights.v1.CSVOptions getCsvOptions(); /** - * - * *
    * Options for CSV formatted reports.
    * 
@@ -197,32 +138,24 @@ public interface ReportConfigOrBuilder com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBuilder(); /** - * - * *
    * Options for Parquet formatted reports.
    * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; - * * @return Whether the parquetOptions field is set. */ boolean hasParquetOptions(); /** - * - * *
    * Options for Parquet formatted reports.
    * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; - * * @return The parquetOptions. */ com.google.cloud.storageinsights.v1.ParquetOptions getParquetOptions(); /** - * - * *
    * Options for Parquet formatted reports.
    * 
@@ -232,50 +165,33 @@ public interface ReportConfigOrBuilder com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOptionsOrBuilder(); /** - * - * *
    * Report for exporting object metadata.
    * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; * @return Whether the objectMetadataReportOptions field is set. */ boolean hasObjectMetadataReportOptions(); /** - * - * *
    * Report for exporting object metadata.
    * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; * @return The objectMetadataReportOptions. */ com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getObjectMetadataReportOptions(); /** - * - * *
    * Report for exporting object metadata.
    * 
* - * - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; - * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; */ - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder - getObjectMetadataReportOptionsOrBuilder(); + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder getObjectMetadataReportOptionsOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -284,31 +200,30 @@ public interface ReportConfigOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 10; */ - 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 as key value pairs
    * 
* * map<string, string> labels = 10; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -316,47 +231,41 @@ public interface ReportConfigOrBuilder * map<string, string> labels = 10; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 10; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * User provided display name which can be empty and limited to 256 characters
    * that is editable.
    * 
* * string display_name = 11; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User provided display name which can be empty and limited to 256 characters
    * that is editable.
    * 
* * string display_name = 11; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); com.google.cloud.storageinsights.v1.ReportConfig.ReportFormatCase getReportFormatCase(); diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java similarity index 70% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java index 6869dd8a44ab..7cf1fe38c5db 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message describing ReportDetail object. ReportDetail represents metadata of
  * generated reports for a ReportConfig.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.ReportDetail}
  */
-public final class ReportDetail extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReportDetail extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ReportDetail)
     ReportDetailOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReportDetail.newBuilder() to construct.
   private ReportDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReportDetail() {
     name_ = "";
     reportPathPrefix_ = "";
@@ -46,107 +28,97 @@ private ReportDetail() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReportDetail();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_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 5:
         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.storageinsights.v1.V1Proto
-        .internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.ReportDetail.class,
-            com.google.cloud.storageinsights.v1.ReportDetail.Builder.class);
+            com.google.cloud.storageinsights.v1.ReportDetail.class, com.google.cloud.storageinsights.v1.ReportDetail.Builder.class);
   }
 
-  public interface MetricsOrBuilder
-      extends
+  public interface MetricsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ReportDetail.Metrics)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Count of Cloud Storage objects which are part of the report.
      * 
* * int64 processed_records_count = 1; - * * @return The processedRecordsCount. */ long getProcessedRecordsCount(); } /** - * - * *
    * Different metrics associated with the generated report.
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ReportDetail.Metrics} */ - public static final class Metrics extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Metrics extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ReportDetail.Metrics) MetricsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metrics.newBuilder() to construct. private Metrics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Metrics() {} + private Metrics() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Metrics(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.class, - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder.class); + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.class, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder.class); } public static final int PROCESSED_RECORDS_COUNT_FIELD_NUMBER = 1; private long processedRecordsCount_ = 0L; /** - * - * *
      * Count of Cloud Storage objects which are part of the report.
      * 
* * int64 processed_records_count = 1; - * * @return The processedRecordsCount. */ @java.lang.Override @@ -155,7 +127,6 @@ public long getProcessedRecordsCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,7 +138,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 (processedRecordsCount_ != 0L) { output.writeInt64(1, processedRecordsCount_); } @@ -181,7 +153,8 @@ public int getSerializedSize() { size = 0; if (processedRecordsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, processedRecordsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, processedRecordsCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,15 +164,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.storageinsights.v1.ReportDetail.Metrics)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ReportDetail.Metrics other = - (com.google.cloud.storageinsights.v1.ReportDetail.Metrics) obj; + com.google.cloud.storageinsights.v1.ReportDetail.Metrics other = (com.google.cloud.storageinsights.v1.ReportDetail.Metrics) obj; - if (getProcessedRecordsCount() != other.getProcessedRecordsCount()) return false; + if (getProcessedRecordsCount() + != other.getProcessedRecordsCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -212,101 +185,97 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROCESSED_RECORDS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getProcessedRecordsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getProcessedRecordsCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics 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.storageinsights.v1.ReportDetail.Metrics parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.ReportDetail.Metrics prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ReportDetail.Metrics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -316,41 +285,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Different metrics associated with the generated report.
      * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ReportDetail.Metrics} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ReportDetail.Metrics) com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.class, - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder.class); + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.class, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ReportDetail.Metrics.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; } @java.lang.Override @@ -381,11 +348,8 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Metrics build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ReportDetail.Metrics buildPartial() { - com.google.cloud.storageinsights.v1.ReportDetail.Metrics result = - new com.google.cloud.storageinsights.v1.ReportDetail.Metrics(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.ReportDetail.Metrics result = new com.google.cloud.storageinsights.v1.ReportDetail.Metrics(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -401,41 +365,38 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportDetail.Metr public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.storageinsights.v1.ReportDetail.Metrics) { - return mergeFrom((com.google.cloud.storageinsights.v1.ReportDetail.Metrics) other); + return mergeFrom((com.google.cloud.storageinsights.v1.ReportDetail.Metrics)other); } else { super.mergeFrom(other); return this; @@ -443,8 +404,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportDetail.Metrics other) { - if (other == com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance()) return this; if (other.getProcessedRecordsCount() != 0L) { setProcessedRecordsCount(other.getProcessedRecordsCount()); } @@ -474,19 +434,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - processedRecordsCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + processedRecordsCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,19 +454,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long processedRecordsCount_; + private long processedRecordsCount_ ; /** - * - * *
        * Count of Cloud Storage objects which are part of the report.
        * 
* * int64 processed_records_count = 1; - * * @return The processedRecordsCount. */ @java.lang.Override @@ -516,14 +470,11 @@ public long getProcessedRecordsCount() { return processedRecordsCount_; } /** - * - * *
        * Count of Cloud Storage objects which are part of the report.
        * 
* * int64 processed_records_count = 1; - * * @param value The processedRecordsCount to set. * @return This builder for chaining. */ @@ -535,14 +486,11 @@ public Builder setProcessedRecordsCount(long value) { return this; } /** - * - * *
        * Count of Cloud Storage objects which are part of the report.
        * 
* * int64 processed_records_count = 1; - * * @return This builder for chaining. */ public Builder clearProcessedRecordsCount() { @@ -551,7 +499,6 @@ public Builder clearProcessedRecordsCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -564,12 +511,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ReportDetail.Metrics) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ReportDetail.Metrics) private static final com.google.cloud.storageinsights.v1.ReportDetail.Metrics DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ReportDetail.Metrics(); } @@ -578,28 +525,27 @@ public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metrics parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metrics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -614,22 +560,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ReportDetail.Metrics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -638,30 +581,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; } } /** - * - * *
    * Name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
    * 
* * 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 { @@ -672,15 +615,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SNAPSHOT_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp snapshotTime_; /** - * - * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
    * 
* * .google.protobuf.Timestamp snapshot_time = 2; - * * @return Whether the snapshotTime field is set. */ @java.lang.Override @@ -688,26 +628,19 @@ public boolean hasSnapshotTime() { return snapshotTime_ != null; } /** - * - * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
    * 
* * .google.protobuf.Timestamp snapshot_time = 2; - * * @return The snapshotTime. */ @java.lang.Override public com.google.protobuf.Timestamp getSnapshotTime() { - return snapshotTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : snapshotTime_; + return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; } /** - * - * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
@@ -717,18 +650,13 @@ public com.google.protobuf.Timestamp getSnapshotTime() {
    */
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
-    return snapshotTime_ == null
-        ? com.google.protobuf.Timestamp.getDefaultInstance()
-        : snapshotTime_;
+    return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_;
   }
 
   public static final int REPORT_PATH_PREFIX_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object reportPathPrefix_ = "";
   /**
-   *
-   *
    * 
    * Prefix of the object name of each report's shard. This will have full
    * prefix except the "extension" and "shard_id".
@@ -740,7 +668,6 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
    * 
* * string report_path_prefix = 8; - * * @return The reportPathPrefix. */ @java.lang.Override @@ -749,15 +676,14 @@ public java.lang.String getReportPathPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportPathPrefix_ = s; return s; } } /** - * - * *
    * Prefix of the object name of each report's shard. This will have full
    * prefix except the "extension" and "shard_id".
@@ -769,15 +695,16 @@ public java.lang.String getReportPathPrefix() {
    * 
* * string report_path_prefix = 8; - * * @return The bytes for reportPathPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getReportPathPrefixBytes() { + public com.google.protobuf.ByteString + getReportPathPrefixBytes() { java.lang.Object ref = reportPathPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reportPathPrefix_ = b; return b; } else { @@ -788,14 +715,11 @@ public com.google.protobuf.ByteString getReportPathPrefixBytes() { public static final int SHARDS_COUNT_FIELD_NUMBER = 9; private long shardsCount_ = 0L; /** - * - * *
    * Total shards generated for the report.
    * 
* * int64 shards_count = 9; - * * @return The shardsCount. */ @java.lang.Override @@ -806,14 +730,11 @@ public long getShardsCount() { public static final int STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status status_; /** - * - * *
    * Status of the ReportDetail.
    * 
* * .google.rpc.Status status = 4; - * * @return Whether the status field is set. */ @java.lang.Override @@ -821,14 +742,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Status of the ReportDetail.
    * 
* * .google.rpc.Status status = 4; - * * @return The status. */ @java.lang.Override @@ -836,8 +754,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Status of the ReportDetail.
    * 
@@ -850,34 +766,32 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - 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_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -885,21 +799,20 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @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 as key value pairs
    * 
@@ -911,8 +824,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -920,19 +831,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +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 as key value pairs
    * 
@@ -940,11 +849,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @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(); } @@ -954,15 +863,12 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int TARGET_DATETIME_FIELD_NUMBER = 6; private com.google.type.DateTime targetDatetime_; /** - * - * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
    * 
* * .google.type.DateTime target_datetime = 6; - * * @return Whether the targetDatetime field is set. */ @java.lang.Override @@ -970,26 +876,19 @@ public boolean hasTargetDatetime() { return targetDatetime_ != null; } /** - * - * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
    * 
* * .google.type.DateTime target_datetime = 6; - * * @return The targetDatetime. */ @java.lang.Override public com.google.type.DateTime getTargetDatetime() { - return targetDatetime_ == null - ? com.google.type.DateTime.getDefaultInstance() - : targetDatetime_; + return targetDatetime_ == null ? com.google.type.DateTime.getDefaultInstance() : targetDatetime_; } /** - * - * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
@@ -999,22 +898,17 @@ public com.google.type.DateTime getTargetDatetime() {
    */
   @java.lang.Override
   public com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder() {
-    return targetDatetime_ == null
-        ? com.google.type.DateTime.getDefaultInstance()
-        : targetDatetime_;
+    return targetDatetime_ == null ? com.google.type.DateTime.getDefaultInstance() : targetDatetime_;
   }
 
   public static final int REPORT_METRICS_FIELD_NUMBER = 7;
   private com.google.cloud.storageinsights.v1.ReportDetail.Metrics reportMetrics_;
   /**
-   *
-   *
    * 
    * Metrics of the report.
    * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; - * * @return Whether the reportMetrics field is set. */ @java.lang.Override @@ -1022,25 +916,18 @@ public boolean hasReportMetrics() { return reportMetrics_ != null; } /** - * - * *
    * Metrics of the report.
    * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; - * * @return The reportMetrics. */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportDetail.Metrics getReportMetrics() { - return reportMetrics_ == null - ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() - : reportMetrics_; + return reportMetrics_ == null ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() : reportMetrics_; } /** - * - * *
    * Metrics of the report.
    * 
@@ -1048,15 +935,11 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Metrics getReportMetrics * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder - getReportMetricsOrBuilder() { - return reportMetrics_ == null - ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() - : reportMetrics_; + public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder() { + return reportMetrics_ == null ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() : reportMetrics_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1068,7 +951,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_); } @@ -1078,8 +962,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (status_ != null) { output.writeMessage(4, getStatus()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); if (targetDatetime_ != null) { output.writeMessage(6, getTargetDatetime()); } @@ -1105,32 +993,37 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (snapshotTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSnapshotTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSnapshotTime()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStatus()); - } - 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(5, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStatus()); + } + 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(5, labels__); } if (targetDatetime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTargetDatetime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getTargetDatetime()); } if (reportMetrics_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getReportMetrics()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getReportMetrics()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportPathPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, reportPathPrefix_); } if (shardsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, shardsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, shardsCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1140,33 +1033,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.storageinsights.v1.ReportDetail)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ReportDetail other = - (com.google.cloud.storageinsights.v1.ReportDetail) obj; + com.google.cloud.storageinsights.v1.ReportDetail other = (com.google.cloud.storageinsights.v1.ReportDetail) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasSnapshotTime() != other.hasSnapshotTime()) return false; if (hasSnapshotTime()) { - if (!getSnapshotTime().equals(other.getSnapshotTime())) return false; + if (!getSnapshotTime() + .equals(other.getSnapshotTime())) return false; } - if (!getReportPathPrefix().equals(other.getReportPathPrefix())) return false; - if (getShardsCount() != other.getShardsCount()) return false; + if (!getReportPathPrefix() + .equals(other.getReportPathPrefix())) return false; + if (getShardsCount() + != other.getShardsCount()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasTargetDatetime() != other.hasTargetDatetime()) return false; if (hasTargetDatetime()) { - if (!getTargetDatetime().equals(other.getTargetDatetime())) return false; + if (!getTargetDatetime() + .equals(other.getTargetDatetime())) return false; } if (hasReportMetrics() != other.hasReportMetrics()) return false; if (hasReportMetrics()) { - if (!getReportMetrics().equals(other.getReportMetrics())) return false; + if (!getReportMetrics() + .equals(other.getReportMetrics())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1188,7 +1088,8 @@ public int hashCode() { hash = (37 * hash) + REPORT_PATH_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getReportPathPrefix().hashCode(); hash = (37 * hash) + SHARDS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getShardsCount()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); @@ -1210,104 +1111,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportDetail parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ReportDetail 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.storageinsights.v1.ReportDetail parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ReportDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 describing ReportDetail object. ReportDetail represents metadata of
    * generated reports for a ReportConfig.
@@ -1316,52 +1212,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.ReportDetail}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ReportDetail)
       com.google.cloud.storageinsights.v1.ReportDetailOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 5:
           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 5:
           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.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.ReportDetail.class,
-              com.google.cloud.storageinsights.v1.ReportDetail.Builder.class);
+              com.google.cloud.storageinsights.v1.ReportDetail.class, com.google.cloud.storageinsights.v1.ReportDetail.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.ReportDetail.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1394,9 +1293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto
-          .internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
     }
 
     @java.lang.Override
@@ -1415,11 +1314,8 @@ public com.google.cloud.storageinsights.v1.ReportDetail build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.ReportDetail buildPartial() {
-      com.google.cloud.storageinsights.v1.ReportDetail result =
-          new com.google.cloud.storageinsights.v1.ReportDetail(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.storageinsights.v1.ReportDetail result = new com.google.cloud.storageinsights.v1.ReportDetail(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1430,8 +1326,9 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportDetail resu
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.snapshotTime_ =
-            snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build();
+        result.snapshotTime_ = snapshotTimeBuilder_ == null
+            ? snapshotTime_
+            : snapshotTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.reportPathPrefix_ = reportPathPrefix_;
@@ -1440,19 +1337,23 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportDetail resu
         result.shardsCount_ = shardsCount_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
+        result.status_ = statusBuilder_ == null
+            ? status_
+            : statusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.targetDatetime_ =
-            targetDatetimeBuilder_ == null ? targetDatetime_ : targetDatetimeBuilder_.build();
+        result.targetDatetime_ = targetDatetimeBuilder_ == null
+            ? targetDatetime_
+            : targetDatetimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.reportMetrics_ =
-            reportMetricsBuilder_ == null ? reportMetrics_ : reportMetricsBuilder_.build();
+        result.reportMetrics_ = reportMetricsBuilder_ == null
+            ? reportMetrics_
+            : reportMetricsBuilder_.build();
       }
     }
 
@@ -1460,39 +1361,38 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportDetail resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.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.storageinsights.v1.ReportDetail) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.ReportDetail) other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.ReportDetail)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1500,8 +1400,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportDetail other) {
-      if (other == com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1521,7 +1420,8 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportDetail other)
       if (other.hasStatus()) {
         mergeStatus(other.getStatus());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (other.hasTargetDatetime()) {
         mergeTargetDatetime(other.getTargetDatetime());
@@ -1555,67 +1455,64 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 34:
-              {
-                input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getTargetDatetimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getReportMetricsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 58
-            case 66:
-              {
-                reportPathPrefix_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 66
-            case 72:
-              {
-                shardsCount_ = input.readInt64();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 72
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSnapshotTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 34: {
+              input.readMessage(
+                  getStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getTargetDatetimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getReportMetricsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 58
+            case 66: {
+              reportPathPrefix_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 66
+            case 72: {
+              shardsCount_ = input.readInt64();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 72
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1625,26 +1522,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * 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; @@ -1653,22 +1547,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * 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 { @@ -1676,37 +1569,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1716,22 +1602,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1741,49 +1623,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp snapshotTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - snapshotTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotTimeBuilder_; /** - * - * *
      * The snapshot time.
      * All the report data is referenced at this point of time.
      * 
* * .google.protobuf.Timestamp snapshot_time = 2; - * * @return Whether the snapshotTime field is set. */ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The snapshot time.
      * All the report data is referenced at this point of time.
      * 
* * .google.protobuf.Timestamp snapshot_time = 2; - * * @return The snapshotTime. */ public com.google.protobuf.Timestamp getSnapshotTime() { if (snapshotTimeBuilder_ == null) { - return snapshotTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : snapshotTime_; + return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; } else { return snapshotTimeBuilder_.getMessage(); } } /** - * - * *
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1805,8 +1674,6 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1814,7 +1681,8 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp snapshot_time = 2;
      */
-    public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setSnapshotTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (snapshotTimeBuilder_ == null) {
         snapshotTime_ = builderForValue.build();
       } else {
@@ -1825,8 +1693,6 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1836,9 +1702,9 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV
      */
     public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) {
       if (snapshotTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && snapshotTime_ != null
-            && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          snapshotTime_ != null &&
+          snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getSnapshotTimeBuilder().mergeFrom(value);
         } else {
           snapshotTime_ = value;
@@ -1851,8 +1717,6 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1871,8 +1735,6 @@ public Builder clearSnapshotTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1886,8 +1748,6 @@ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() {
       return getSnapshotTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1899,14 +1759,11 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
       if (snapshotTimeBuilder_ != null) {
         return snapshotTimeBuilder_.getMessageOrBuilder();
       } else {
-        return snapshotTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : snapshotTime_;
+        return snapshotTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1915,17 +1772,14 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
      * .google.protobuf.Timestamp snapshot_time = 2;
      */
     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> 
         getSnapshotTimeFieldBuilder() {
       if (snapshotTimeBuilder_ == null) {
-        snapshotTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getSnapshotTime(), getParentForChildren(), isClean());
+        snapshotTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getSnapshotTime(),
+                getParentForChildren(),
+                isClean());
         snapshotTime_ = null;
       }
       return snapshotTimeBuilder_;
@@ -1933,8 +1787,6 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
 
     private java.lang.Object reportPathPrefix_ = "";
     /**
-     *
-     *
      * 
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -1946,13 +1798,13 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
      * 
* * string report_path_prefix = 8; - * * @return The reportPathPrefix. */ public java.lang.String getReportPathPrefix() { java.lang.Object ref = reportPathPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportPathPrefix_ = s; return s; @@ -1961,8 +1813,6 @@ public java.lang.String getReportPathPrefix() { } } /** - * - * *
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -1974,14 +1824,15 @@ public java.lang.String getReportPathPrefix() {
      * 
* * string report_path_prefix = 8; - * * @return The bytes for reportPathPrefix. */ - public com.google.protobuf.ByteString getReportPathPrefixBytes() { + public com.google.protobuf.ByteString + getReportPathPrefixBytes() { java.lang.Object ref = reportPathPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reportPathPrefix_ = b; return b; } else { @@ -1989,8 +1840,6 @@ public com.google.protobuf.ByteString getReportPathPrefixBytes() { } } /** - * - * *
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -2002,22 +1851,18 @@ public com.google.protobuf.ByteString getReportPathPrefixBytes() {
      * 
* * string report_path_prefix = 8; - * * @param value The reportPathPrefix to set. * @return This builder for chaining. */ - public Builder setReportPathPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReportPathPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } reportPathPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -2029,7 +1874,6 @@ public Builder setReportPathPrefix(java.lang.String value) {
      * 
* * string report_path_prefix = 8; - * * @return This builder for chaining. */ public Builder clearReportPathPrefix() { @@ -2039,8 +1883,6 @@ public Builder clearReportPathPrefix() { return this; } /** - * - * *
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -2052,14 +1894,12 @@ public Builder clearReportPathPrefix() {
      * 
* * string report_path_prefix = 8; - * * @param value The bytes for reportPathPrefix to set. * @return This builder for chaining. */ - public Builder setReportPathPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReportPathPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); reportPathPrefix_ = value; bitField0_ |= 0x00000004; @@ -2067,16 +1907,13 @@ public Builder setReportPathPrefixBytes(com.google.protobuf.ByteString value) { return this; } - private long shardsCount_; + private long shardsCount_ ; /** - * - * *
      * Total shards generated for the report.
      * 
* * int64 shards_count = 9; - * * @return The shardsCount. */ @java.lang.Override @@ -2084,14 +1921,11 @@ public long getShardsCount() { return shardsCount_; } /** - * - * *
      * Total shards generated for the report.
      * 
* * int64 shards_count = 9; - * * @param value The shardsCount to set. * @return This builder for chaining. */ @@ -2103,14 +1937,11 @@ public Builder setShardsCount(long value) { return this; } /** - * - * *
      * Total shards generated for the report.
      * 
* * int64 shards_count = 9; - * * @return This builder for chaining. */ public Builder clearShardsCount() { @@ -2122,31 +1953,24 @@ public Builder clearShardsCount() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * Status of the ReportDetail.
      * 
* * .google.rpc.Status status = 4; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Status of the ReportDetail.
      * 
* * .google.rpc.Status status = 4; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -2157,8 +1981,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Status of the ReportDetail.
      * 
@@ -2179,15 +2001,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of the ReportDetail.
      * 
* * .google.rpc.Status status = 4; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { @@ -2198,8 +2019,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Status of the ReportDetail.
      * 
@@ -2208,9 +2027,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && status_ != null - && status_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + status_ != null && + status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -2223,8 +2042,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of the ReportDetail.
      * 
@@ -2242,8 +2059,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Status of the ReportDetail.
      * 
@@ -2256,8 +2071,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Status of the ReportDetail.
      * 
@@ -2268,12 +2081,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * Status of the ReportDetail.
      * 
@@ -2281,32 +2093,34 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; } - 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() { 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(); @@ -2315,13 +2129,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -2329,21 +2140,20 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @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 as key value pairs
      * 
@@ -2355,8 +2165,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -2364,19 +2172,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +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 as key value pairs
      * 
@@ -2384,124 +2190,109 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @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(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 5; */ - 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() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 5; */ - 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"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + 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"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000020; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 5; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000020; return this; } private com.google.type.DateTime targetDatetime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.DateTime, - com.google.type.DateTime.Builder, - com.google.type.DateTimeOrBuilder> - targetDatetimeBuilder_; + com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> targetDatetimeBuilder_; /** - * - * *
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
      * 
* * .google.type.DateTime target_datetime = 6; - * * @return Whether the targetDatetime field is set. */ public boolean hasTargetDatetime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
      * 
* * .google.type.DateTime target_datetime = 6; - * * @return The targetDatetime. */ public com.google.type.DateTime getTargetDatetime() { if (targetDatetimeBuilder_ == null) { - return targetDatetime_ == null - ? com.google.type.DateTime.getDefaultInstance() - : targetDatetime_; + return targetDatetime_ == null ? com.google.type.DateTime.getDefaultInstance() : targetDatetime_; } else { return targetDatetimeBuilder_.getMessage(); } } /** - * - * *
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2523,8 +2314,6 @@ public Builder setTargetDatetime(com.google.type.DateTime value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2532,7 +2321,8 @@ public Builder setTargetDatetime(com.google.type.DateTime value) {
      *
      * .google.type.DateTime target_datetime = 6;
      */
-    public Builder setTargetDatetime(com.google.type.DateTime.Builder builderForValue) {
+    public Builder setTargetDatetime(
+        com.google.type.DateTime.Builder builderForValue) {
       if (targetDatetimeBuilder_ == null) {
         targetDatetime_ = builderForValue.build();
       } else {
@@ -2543,8 +2333,6 @@ public Builder setTargetDatetime(com.google.type.DateTime.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2554,9 +2342,9 @@ public Builder setTargetDatetime(com.google.type.DateTime.Builder builderForValu
      */
     public Builder mergeTargetDatetime(com.google.type.DateTime value) {
       if (targetDatetimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0)
-            && targetDatetime_ != null
-            && targetDatetime_ != com.google.type.DateTime.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0) &&
+          targetDatetime_ != null &&
+          targetDatetime_ != com.google.type.DateTime.getDefaultInstance()) {
           getTargetDatetimeBuilder().mergeFrom(value);
         } else {
           targetDatetime_ = value;
@@ -2569,8 +2357,6 @@ public Builder mergeTargetDatetime(com.google.type.DateTime value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2589,8 +2375,6 @@ public Builder clearTargetDatetime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2604,8 +2388,6 @@ public com.google.type.DateTime.Builder getTargetDatetimeBuilder() {
       return getTargetDatetimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2617,14 +2399,11 @@ public com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder() {
       if (targetDatetimeBuilder_ != null) {
         return targetDatetimeBuilder_.getMessageOrBuilder();
       } else {
-        return targetDatetime_ == null
-            ? com.google.type.DateTime.getDefaultInstance()
-            : targetDatetime_;
+        return targetDatetime_ == null ?
+            com.google.type.DateTime.getDefaultInstance() : targetDatetime_;
       }
     }
     /**
-     *
-     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2633,17 +2412,14 @@ public com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder() {
      * .google.type.DateTime target_datetime = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime,
-            com.google.type.DateTime.Builder,
-            com.google.type.DateTimeOrBuilder>
+        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> 
         getTargetDatetimeFieldBuilder() {
       if (targetDatetimeBuilder_ == null) {
-        targetDatetimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.DateTime,
-                com.google.type.DateTime.Builder,
-                com.google.type.DateTimeOrBuilder>(
-                getTargetDatetime(), getParentForChildren(), isClean());
+        targetDatetimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder>(
+                getTargetDatetime(),
+                getParentForChildren(),
+                isClean());
         targetDatetime_ = null;
       }
       return targetDatetimeBuilder_;
@@ -2651,55 +2427,41 @@ public com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder() {
 
     private com.google.cloud.storageinsights.v1.ReportDetail.Metrics reportMetrics_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.storageinsights.v1.ReportDetail.Metrics,
-            com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder,
-            com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder>
-        reportMetricsBuilder_;
+        com.google.cloud.storageinsights.v1.ReportDetail.Metrics, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder> reportMetricsBuilder_;
     /**
-     *
-     *
      * 
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; - * * @return Whether the reportMetrics field is set. */ public boolean hasReportMetrics() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; - * * @return The reportMetrics. */ public com.google.cloud.storageinsights.v1.ReportDetail.Metrics getReportMetrics() { if (reportMetricsBuilder_ == null) { - return reportMetrics_ == null - ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() - : reportMetrics_; + return reportMetrics_ == null ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() : reportMetrics_; } else { return reportMetricsBuilder_.getMessage(); } } /** - * - * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ - public Builder setReportMetrics( - com.google.cloud.storageinsights.v1.ReportDetail.Metrics value) { + public Builder setReportMetrics(com.google.cloud.storageinsights.v1.ReportDetail.Metrics value) { if (reportMetricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2713,8 +2475,6 @@ public Builder setReportMetrics( return this; } /** - * - * *
      * Metrics of the report.
      * 
@@ -2733,21 +2493,17 @@ public Builder setReportMetrics( return this; } /** - * - * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ - public Builder mergeReportMetrics( - com.google.cloud.storageinsights.v1.ReportDetail.Metrics value) { + public Builder mergeReportMetrics(com.google.cloud.storageinsights.v1.ReportDetail.Metrics value) { if (reportMetricsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && reportMetrics_ != null - && reportMetrics_ - != com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + reportMetrics_ != null && + reportMetrics_ != com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance()) { getReportMetricsBuilder().mergeFrom(value); } else { reportMetrics_ = value; @@ -2760,8 +2516,6 @@ public Builder mergeReportMetrics( return this; } /** - * - * *
      * Metrics of the report.
      * 
@@ -2779,42 +2533,33 @@ public Builder clearReportMetrics() { return this; } /** - * - * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ - public com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder - getReportMetricsBuilder() { + public com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder getReportMetricsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getReportMetricsFieldBuilder().getBuilder(); } /** - * - * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ - public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder - getReportMetricsOrBuilder() { + public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder() { if (reportMetricsBuilder_ != null) { return reportMetricsBuilder_.getMessageOrBuilder(); } else { - return reportMetrics_ == null - ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() - : reportMetrics_; + return reportMetrics_ == null ? + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() : reportMetrics_; } } /** - * - * *
      * Metrics of the report.
      * 
@@ -2822,24 +2567,21 @@ public Builder clearReportMetrics() { * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail.Metrics, - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, - com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder> + com.google.cloud.storageinsights.v1.ReportDetail.Metrics, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder> getReportMetricsFieldBuilder() { if (reportMetricsBuilder_ == null) { - reportMetricsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail.Metrics, - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, - com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder>( - getReportMetrics(), getParentForChildren(), isClean()); + reportMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportDetail.Metrics, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder>( + getReportMetrics(), + getParentForChildren(), + isClean()); reportMetrics_ = null; } return reportMetricsBuilder_; } - @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); } @@ -2849,12 +2591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ReportDetail) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ReportDetail) private static final com.google.cloud.storageinsights.v1.ReportDetail DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ReportDetail(); } @@ -2863,27 +2605,27 @@ public static com.google.cloud.storageinsights.v1.ReportDetail getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReportDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2898,4 +2640,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ReportDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java similarity index 100% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java similarity index 81% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java index 351d7f52dd6a..81bf50410e93 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java @@ -1,84 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ReportDetailOrBuilder - extends +public interface ReportDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ReportDetail) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
    * 
* * .google.protobuf.Timestamp snapshot_time = 2; - * * @return Whether the snapshotTime field is set. */ boolean hasSnapshotTime(); /** - * - * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
    * 
* * .google.protobuf.Timestamp snapshot_time = 2; - * * @return The snapshotTime. */ com.google.protobuf.Timestamp getSnapshotTime(); /** - * - * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
@@ -89,8 +60,6 @@ public interface ReportDetailOrBuilder
   com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Prefix of the object name of each report's shard. This will have full
    * prefix except the "extension" and "shard_id".
@@ -102,13 +71,10 @@ public interface ReportDetailOrBuilder
    * 
* * string report_path_prefix = 8; - * * @return The reportPathPrefix. */ java.lang.String getReportPathPrefix(); /** - * - * *
    * Prefix of the object name of each report's shard. This will have full
    * prefix except the "extension" and "shard_id".
@@ -120,51 +86,40 @@ public interface ReportDetailOrBuilder
    * 
* * string report_path_prefix = 8; - * * @return The bytes for reportPathPrefix. */ - com.google.protobuf.ByteString getReportPathPrefixBytes(); + com.google.protobuf.ByteString + getReportPathPrefixBytes(); /** - * - * *
    * Total shards generated for the report.
    * 
* * int64 shards_count = 9; - * * @return The shardsCount. */ long getShardsCount(); /** - * - * *
    * Status of the ReportDetail.
    * 
* * .google.rpc.Status status = 4; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Status of the ReportDetail.
    * 
* * .google.rpc.Status status = 4; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * Status of the ReportDetail.
    * 
@@ -174,8 +129,6 @@ public interface ReportDetailOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -184,31 +137,30 @@ public interface ReportDetailOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 5; */ - 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 as key value pairs
    * 
* * map<string, string> labels = 5; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -216,50 +168,41 @@ public interface ReportDetailOrBuilder * map<string, string> labels = 5; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 5; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
    * 
* * .google.type.DateTime target_datetime = 6; - * * @return Whether the targetDatetime field is set. */ boolean hasTargetDatetime(); /** - * - * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
    * 
* * .google.type.DateTime target_datetime = 6; - * * @return The targetDatetime. */ com.google.type.DateTime getTargetDatetime(); /** - * - * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
@@ -270,32 +213,24 @@ java.lang.String getLabelsOrDefault(
   com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Metrics of the report.
    * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; - * * @return Whether the reportMetrics field is set. */ boolean hasReportMetrics(); /** - * - * *
    * Metrics of the report.
    * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; - * * @return The reportMetrics. */ com.google.cloud.storageinsights.v1.ReportDetail.Metrics getReportMetrics(); /** - * - * *
    * Metrics of the report.
    * 
diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java similarity index 70% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java index 1858f9fe578d..a708901099bb 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** - * - * *
  * Message for updating a ReportConfig
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.UpdateReportConfigRequest} */ -public final class UpdateReportConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateReportConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.UpdateReportConfigRequest) UpdateReportConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateReportConfigRequest.newBuilder() to construct. private UpdateReportConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateReportConfigRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateReportConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,16 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int REPORT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.storageinsights.v1.ReportConfig reportConfig_; /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the reportConfig field is set. */ @java.lang.Override @@ -143,49 +108,33 @@ public boolean hasReportConfig() { return reportConfig_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The reportConfig. */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig() { - return reportConfig_ == null - ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() - : reportConfig_; + return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder() { - return reportConfig_ == null - ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() - : reportConfig_; + return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -203,7 +152,6 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -212,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -238,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -255,7 +203,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +214,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -287,10 +235,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (reportConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReportConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReportConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -303,23 +253,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.storageinsights.v1.UpdateReportConfigRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest other = - (com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) obj; + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest other = (com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasReportConfig() != other.hasReportConfig()) return false; if (hasReportConfig()) { - if (!getReportConfig().equals(other.getReportConfig())) return false; + if (!getReportConfig() + .equals(other.getReportConfig())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -347,136 +299,131 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest 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.storageinsights.v1.UpdateReportConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 for updating a ReportConfig
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.UpdateReportConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.UpdateReportConfigRequest) com.google.cloud.storageinsights.v1.UpdateReportConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -496,14 +443,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto - .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.getDefaultInstance(); } @@ -518,24 +464,23 @@ public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest buildPartial() { - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest result = - new com.google.cloud.storageinsights.v1.UpdateReportConfigRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest result = new com.google.cloud.storageinsights.v1.UpdateReportConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest result) { + private void buildPartial0(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.reportConfig_ = - reportConfigBuilder_ == null ? reportConfig_ : reportConfigBuilder_.build(); + result.reportConfig_ = reportConfigBuilder_ == null + ? reportConfig_ + : reportConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -546,39 +491,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.storageinsights.v1.UpdateReportConfigRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) other); + return mergeFrom((com.google.cloud.storageinsights.v1.UpdateReportConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -586,9 +530,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest other) { - if (other - == com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -626,31 +568,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReportConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReportConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -660,18 +602,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -680,17 +616,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -699,23 +631,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @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(); } } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -724,8 +650,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -741,8 +666,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -751,10 +674,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -765,8 +688,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -775,14 +696,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -795,8 +715,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -805,8 +723,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -819,8 +736,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -829,8 +744,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -838,8 +752,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -848,21 +760,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ 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_; } } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -871,21 +779,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ 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_; @@ -893,58 +797,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.storageinsights.v1.ReportConfig reportConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> - reportConfigBuilder_; + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> reportConfigBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the reportConfig field is set. */ public boolean hasReportConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The reportConfig. */ public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig() { if (reportConfigBuilder_ == null) { - return reportConfig_ == null - ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() - : reportConfig_; + return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; } else { return reportConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setReportConfig(com.google.cloud.storageinsights.v1.ReportConfig value) { if (reportConfigBuilder_ == null) { @@ -960,15 +845,11 @@ public Builder setReportConfig(com.google.cloud.storageinsights.v1.ReportConfig return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setReportConfig( com.google.cloud.storageinsights.v1.ReportConfig.Builder builderForValue) { @@ -982,22 +863,17 @@ public Builder setReportConfig( return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeReportConfig(com.google.cloud.storageinsights.v1.ReportConfig value) { if (reportConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && reportConfig_ != null - && reportConfig_ - != com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + reportConfig_ != null && + reportConfig_ != com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) { getReportConfigBuilder().mergeFrom(value); } else { reportConfig_ = value; @@ -1010,15 +886,11 @@ public Builder mergeReportConfig(com.google.cloud.storageinsights.v1.ReportConfi return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearReportConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1031,15 +903,11 @@ public Builder clearReportConfig() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigBuilder() { bitField0_ |= 0x00000002; @@ -1047,48 +915,36 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigB return getReportConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder() { if (reportConfigBuilder_ != null) { return reportConfigBuilder_.getMessageOrBuilder(); } else { - return reportConfig_ == null - ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() - : reportConfig_; + return reportConfig_ == null ? + com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> getReportConfigFieldBuilder() { if (reportConfigBuilder_ == null) { - reportConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, - com.google.cloud.storageinsights.v1.ReportConfig.Builder, - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( - getReportConfig(), getParentForChildren(), isClean()); + reportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( + getReportConfig(), + getParentForChildren(), + isClean()); reportConfig_ = null; } return reportConfigBuilder_; @@ -1096,8 +952,6 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1115,13 +969,13 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1130,8 +984,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1149,14 +1001,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1164,8 +1017,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1183,22 +1034,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1216,7 +1063,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1226,8 +1072,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1245,23 +1089,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; 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); } @@ -1271,13 +1113,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.UpdateReportConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.UpdateReportConfigRequest) - private static final com.google.cloud.storageinsights.v1.UpdateReportConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.storageinsights.v1.UpdateReportConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.UpdateReportConfigRequest(); } @@ -1286,27 +1127,27 @@ public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateReportConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateReportConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,4 +1162,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java similarity index 76% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java index 7ecc2a59cb5f..e847b2b88844 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface UpdateReportConfigRequestOrBuilder - extends +public interface UpdateReportConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.UpdateReportConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateReportConfigRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateReportConfigRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateReportConfigRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the reportConfig field is set. */ boolean hasReportConfig(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The reportConfig. */ com.google.cloud.storageinsights.v1.ReportConfig getReportConfig(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -134,13 +91,10 @@ public interface UpdateReportConfigRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -158,8 +112,8 @@ public interface UpdateReportConfigRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java new file mode 100644 index 000000000000..4197622c4145 --- /dev/null +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java @@ -0,0 +1,445 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public final class V1Proto { + private V1Proto() {} + 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_storageinsights_v1_ListReportConfigsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n5google/cloud/storageinsights/v1/storag" + + "einsights.proto\022\037google.cloud.storageins" + + "ights.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\032\037google/api/fiel" + + "d_behavior.proto\032\031google/api/resource.pr" + + "oto\032\033google/protobuf/empty.proto\032 google" + + "/protobuf/field_mask.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\032\026google/type/date.proto\032\032google/typ" + + "e/datetime.proto\"\251\001\n\030ListReportConfigsRe" + + "quest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+storagei" + + "nsights.googleapis.com/ReportConfig\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fi" + + "lter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\220\001\n\031ListRep" + + "ortConfigsResponse\022E\n\016report_configs\030\001 \003" + + "(\0132-.google.cloud.storageinsights.v1.Rep" + + "ortConfig\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013un" + + "reachable\030\003 \003(\t\"\\\n\026GetReportConfigReques" + + "t\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storageinsight" + + "s.googleapis.com/ReportConfig\"\307\001\n\031Create" + + "ReportConfigRequest\022D\n\006parent\030\001 \001(\tB4\342A\001" + + "\002\372A-\022+storageinsights.googleapis.com/Rep" + + "ortConfig\022J\n\rreport_config\030\003 \001(\0132-.googl" + + "e.cloud.storageinsights.v1.ReportConfigB" + + "\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\"\270\001\n\031Upda" + + "teReportConfigRequest\0225\n\013update_mask\030\001 \001" + + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\022J\n\r" + + "report_config\030\002 \001(\0132-.google.cloud.stora" + + "geinsights.v1.ReportConfigB\004\342A\001\002\022\030\n\nrequ" + + "est_id\030\003 \001(\tB\004\342A\001\001\"\216\001\n\031DeleteReportConfi" + + "gRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storage" + + "insights.googleapis.com/ReportConfig\022\023\n\005" + + "force\030\002 \001(\010B\004\342A\001\001\022\030\n\nrequest_id\030\003 \001(\tB\004\342" + + "A\001\001\"\343\004\n\014ReportDetail\022\014\n\004name\030\001 \001(\t\0221\n\rsn" + + "apshot_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\022\032\n\022report_path_prefix\030\010 \001(\t\022\024\n\014sha" + + "rds_count\030\t \001(\003\022\"\n\006status\030\004 \001(\0132\022.google" + + ".rpc.Status\022I\n\006labels\030\005 \003(\01329.google.clo" + + "ud.storageinsights.v1.ReportDetail.Label" + + "sEntry\022.\n\017target_datetime\030\006 \001(\0132\025.google" + + ".type.DateTime\022M\n\016report_metrics\030\007 \001(\01325" + + ".google.cloud.storageinsights.v1.ReportD" + + "etail.Metrics\032*\n\007Metrics\022\037\n\027processed_re" + + "cords_count\030\001 \001(\003\032-\n\013LabelsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\226\001\352A\222\001\n+storage" + + "insights.googleapis.com/ReportDetail\022cpr" + + "ojects/{project}/locations/{location}/re" + + "portConfigs/{report_config}/reportDetail" + + "s/{report_detail}\"\251\001\n\030ListReportDetailsR" + + "equest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+storage" + + "insights.googleapis.com/ReportDetail\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" + + "ilter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\220\001\n\031ListRe" + + "portDetailsResponse\022E\n\016report_details\030\001 " + + "\003(\0132-.google.cloud.storageinsights.v1.Re" + + "portDetail\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013u" + + "nreachable\030\003 \003(\t\"\\\n\026GetReportDetailReque" + + "st\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storageinsigh" + + "ts.googleapis.com/ReportDetail\"\207\002\n\021Opera" + + "tionMetadata\0225\n\013create_time\030\001 \001(\0132\032.goog" + + "le.protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030" + + "\002 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001" + + "\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026reque" + + "sted_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_ver" + + "sion\030\007 \001(\tB\004\342A\001\003\"\355\001\n\020FrequencyOptions\022N\n" + + "\tfrequency\030\001 \001(\0162;.google.cloud.storagei" + + "nsights.v1.FrequencyOptions.Frequency\022%\n" + + "\nstart_date\030\002 \001(\0132\021.google.type.Date\022#\n\010" + + "end_date\030\003 \001(\0132\021.google.type.Date\"=\n\tFre" + + "quency\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\t\n\005DAI" + + "LY\020\001\022\n\n\006WEEKLY\020\002\"R\n\nCSVOptions\022\030\n\020record" + + "_separator\030\001 \001(\t\022\021\n\tdelimiter\030\002 \001(\t\022\027\n\017h" + + "eader_required\030\003 \001(\010\"\020\n\016ParquetOptions\"%" + + "\n\023CloudStorageFilters\022\016\n\006bucket\030\001 \001(\t\"J\n" + + "\036CloudStorageDestinationOptions\022\016\n\006bucke" + + "t\030\001 \001(\t\022\030\n\020destination_path\030\002 \001(\t\"\220\002\n\033Ob" + + "jectMetadataReportOptions\022\027\n\017metadata_fi" + + "elds\030\001 \003(\t\022O\n\017storage_filters\030\002 \001(\01324.go" + + "ogle.cloud.storageinsights.v1.CloudStora" + + "geFiltersH\000\022f\n\033storage_destination_optio" + + "ns\030\003 \001(\0132?.google.cloud.storageinsights." + + "v1.CloudStorageDestinationOptionsH\001B\010\n\006f" + + "ilterB\025\n\023destination_options\"\371\005\n\014ReportC" + + "onfig\022\014\n\004name\030\001 \001(\t\0225\n\013create_time\030\002 \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013up" + + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "ampB\004\342A\001\003\022L\n\021frequency_options\030\005 \001(\01321.g" + + "oogle.cloud.storageinsights.v1.Frequency" + + "Options\022B\n\013csv_options\030\006 \001(\0132+.google.cl" + + "oud.storageinsights.v1.CSVOptionsH\000\022J\n\017p" + + "arquet_options\030\007 \001(\0132/.google.cloud.stor" + + "ageinsights.v1.ParquetOptionsH\000\022f\n\036objec" + + "t_metadata_report_options\030\010 \001(\0132<.google" + + ".cloud.storageinsights.v1.ObjectMetadata" + + "ReportOptionsH\001\022I\n\006labels\030\n \003(\01329.google" + + ".cloud.storageinsights.v1.ReportConfig.L" + + "abelsEntry\022\024\n\014display_name\030\013 \001(\t\032-\n\013Labe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:" + + "w\352At\n+storageinsights.googleapis.com/Rep" + + "ortConfig\022Eprojects/{project}/locations/" + + "{location}/reportConfigs/{report_config}" + + "B\017\n\rreport_formatB\r\n\013report_kind2\251\014\n\017Sto" + + "rageInsights\022\316\001\n\021ListReportConfigs\0229.goo" + + "gle.cloud.storageinsights.v1.ListReportC" + + "onfigsRequest\032:.google.cloud.storageinsi" + + "ghts.v1.ListReportConfigsResponse\"B\332A\006pa" + + "rent\202\323\344\223\0023\0221/v1/{parent=projects/*/locat" + + "ions/*}/reportConfigs\022\273\001\n\017GetReportConfi" + + "g\0227.google.cloud.storageinsights.v1.GetR" + + "eportConfigRequest\032-.google.cloud.storag" + + "einsights.v1.ReportConfig\"@\332A\004name\202\323\344\223\0023" + + "\0221/v1/{name=projects/*/locations/*/repor" + + "tConfigs/*}\022\340\001\n\022CreateReportConfig\022:.goo" + + "gle.cloud.storageinsights.v1.CreateRepor" + + "tConfigRequest\032-.google.cloud.storageins" + + "ights.v1.ReportConfig\"_\332A\024parent,report_" + + "config\202\323\344\223\002B\"1/v1/{parent=projects/*/loc" + + "ations/*}/reportConfigs:\rreport_config\022\363" + + "\001\n\022UpdateReportConfig\022:.google.cloud.sto" + + "rageinsights.v1.UpdateReportConfigReques" + + "t\032-.google.cloud.storageinsights.v1.Repo" + + "rtConfig\"r\332A\031report_config,update_mask\202\323" + + "\344\223\002P2?/v1/{report_config.name=projects/*" + + "/locations/*/reportConfigs/*}:\rreport_co" + + "nfig\022\252\001\n\022DeleteReportConfig\022:.google.clo" + + "ud.storageinsights.v1.DeleteReportConfig" + + "Request\032\026.google.protobuf.Empty\"@\332A\004name" + + "\202\323\344\223\0023*1/v1/{name=projects/*/locations/*" + + "/reportConfigs/*}\022\336\001\n\021ListReportDetails\022" + + "9.google.cloud.storageinsights.v1.ListRe" + + "portDetailsRequest\032:.google.cloud.storag" + + "einsights.v1.ListReportDetailsResponse\"R" + + "\332A\006parent\202\323\344\223\002C\022A/v1/{parent=projects/*/" + + "locations/*/reportConfigs/*}/reportDetai" + + "ls\022\313\001\n\017GetReportDetail\0227.google.cloud.st" + + "orageinsights.v1.GetReportDetailRequest\032" + + "-.google.cloud.storageinsights.v1.Report" + + "Detail\"P\332A\004name\202\323\344\223\002C\022A/v1/{name=project" + + "s/*/locations/*/reportConfigs/*/reportDe" + + "tails/*}\032R\312A\036storageinsights.googleapis." + + "com\322A.https://www.googleapis.com/auth/cl" + + "oud-platformB\350\001\n#com.google.cloud.storag" + + "einsights.v1B\007V1ProtoP\001ZMcloud.google.co" + + "m/go/storageinsights/apiv1/storageinsigh" + + "tspb;storageinsightspb\252\002\037Google.Cloud.St" + + "orageInsights.V1\312\002\037Google\\Cloud\\StorageI" + + "nsights\\V1\352\002\"Google::Cloud::StorageInsig" + + "hts::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.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + com.google.type.DateTimeProto.getDescriptor(), + }); + internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor, + new java.lang.String[] { "ReportConfigs", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor, + new java.lang.String[] { "Parent", "ReportConfig", "RequestId", }); + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor, + new java.lang.String[] { "UpdateMask", "ReportConfig", "RequestId", }); + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor, + new java.lang.String[] { "Name", "Force", "RequestId", }); + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor, + new java.lang.String[] { "Name", "SnapshotTime", "ReportPathPrefix", "ShardsCount", "Status", "Labels", "TargetDatetime", "ReportMetrics", }); + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor = + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor, + new java.lang.String[] { "ProcessedRecordsCount", }); + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor = + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor, + new java.lang.String[] { "ReportDetails", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", }); + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor, + new java.lang.String[] { "Frequency", "StartDate", "EndDate", }); + internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor, + new java.lang.String[] { "RecordSeparator", "Delimiter", "HeaderRequired", }); + internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor, + new java.lang.String[] { "Bucket", }); + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor, + new java.lang.String[] { "Bucket", "DestinationPath", }); + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor, + new java.lang.String[] { "MetadataFields", "StorageFilters", "StorageDestinationOptions", "Filter", "DestinationOptions", }); + internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "FrequencyOptions", "CsvOptions", "ParquetOptions", "ObjectMetadataReportOptions", "Labels", "DisplayName", "ReportFormat", "ReportKind", }); + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor = + internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + 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.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.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + com.google.type.DateTimeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto similarity index 99% rename from java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto rename to owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto index c7d04dd6cb80..68dce54c3e2d 100644 --- a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto +++ b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto @@ -445,6 +445,9 @@ message ObjectMetadataReportOptions { // Message describing ReportConfig object. ReportConfig is the configuration to // generate reports. +// See +// https://cloud.google.com/storage/docs/insights/using-inventory-reports#create-config-rest +// for more details on how to set various fields. // Next ID: 12 message ReportConfig { option (google.api.resource) = { diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java diff --git a/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java b/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java similarity index 100% rename from java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java rename to owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java From 7e56d32680d3c9e353a8efd20120264fd6e01daf Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 10 Aug 2023 21:06:51 +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 --- java-storageinsights/README.md | 4 +- .../v1/StorageInsightsClient.java | 0 .../v1/StorageInsightsSettings.java | 1 - .../storageinsights/v1/gapic_metadata.json | 0 .../storageinsights/v1/package-info.java | 0 .../GrpcStorageInsightsCallableFactory.java | 0 .../v1/stub/GrpcStorageInsightsStub.java | 1 - ...ttpJsonStorageInsightsCallableFactory.java | 0 .../v1/stub/HttpJsonStorageInsightsStub.java | 0 .../v1/stub/StorageInsightsStub.java | 0 .../v1/stub/StorageInsightsStubSettings.java | 0 .../reflect-config.json | 0 .../storageinsights/v1/MockLocations.java | 0 .../storageinsights/v1/MockLocationsImpl.java | 0 .../v1/MockStorageInsights.java | 0 .../v1/MockStorageInsightsImpl.java | 0 .../v1/StorageInsightsClientHttpJsonTest.java | 0 .../v1/StorageInsightsClientTest.java | 0 .../v1/StorageInsightsGrpc.java | 1101 +++++++++++++ .../cloud/storageinsights/v1/CSVOptions.java | 418 +++-- .../v1/CSVOptionsOrBuilder.java | 39 +- .../v1/CloudStorageDestinationOptions.java | 432 +++-- ...oudStorageDestinationOptionsOrBuilder.java | 36 +- .../v1/CloudStorageFilters.java | 322 ++-- .../v1/CloudStorageFiltersOrBuilder.java | 50 + .../v1/CreateReportConfigRequest.java | 576 ++++--- .../CreateReportConfigRequestOrBuilder.java | 64 +- .../v1/DeleteReportConfigRequest.java | 466 +++--- .../DeleteReportConfigRequestOrBuilder.java | 47 +- .../storageinsights/v1/FrequencyOptions.java | 538 +++--- .../v1/FrequencyOptionsOrBuilder.java | 40 +- .../v1/GetReportConfigRequest.java | 350 ++-- .../v1/GetReportConfigRequestOrBuilder.java | 54 + .../v1/GetReportDetailRequest.java | 350 ++-- .../v1/GetReportDetailRequestOrBuilder.java | 54 + .../v1/ListReportConfigsRequest.java | 609 ++++--- .../v1/ListReportConfigsRequestOrBuilder.java | 65 +- .../v1/ListReportConfigsResponse.java | 580 ++++--- .../ListReportConfigsResponseOrBuilder.java | 63 +- .../v1/ListReportDetailsRequest.java | 609 ++++--- .../v1/ListReportDetailsRequestOrBuilder.java | 65 +- .../v1/ListReportDetailsResponse.java | 580 ++++--- .../ListReportDetailsResponseOrBuilder.java | 63 +- .../storageinsights/v1/LocationName.java | 0 .../v1/ObjectMetadataReportOptions.java | 763 ++++++--- .../ObjectMetadataReportOptionsOrBuilder.java | 70 +- .../storageinsights/v1/OperationMetadata.java | 827 ++++++---- .../v1/OperationMetadataOrBuilder.java | 91 +- .../storageinsights/v1/ParquetOptions.java | 245 +-- .../v1/ParquetOptionsOrBuilder.java | 24 + .../storageinsights/v1/ReportConfig.java | 1456 +++++++++++------ .../storageinsights/v1/ReportConfigName.java | 0 .../v1/ReportConfigOrBuilder.java | 147 +- .../storageinsights/v1/ReportDetail.java | 1334 +++++++++------ .../storageinsights/v1/ReportDetailName.java | 0 .../v1/ReportDetailOrBuilder.java | 101 +- .../v1/UpdateReportConfigRequest.java | 601 ++++--- .../UpdateReportConfigRequestOrBuilder.java | 64 +- .../cloud/storageinsights/v1/V1Proto.java | 511 ++++++ .../storageinsights/v1/storageinsights.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateReportConfig.java | 0 .../SyncCreateReportConfig.java | 0 ...eReportConfigLocationnameReportconfig.java | 0 ...cCreateReportConfigStringReportconfig.java | 0 .../AsyncDeleteReportConfig.java | 0 .../SyncDeleteReportConfig.java | 0 ...yncDeleteReportConfigReportconfigname.java | 0 .../SyncDeleteReportConfigString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../getreportconfig/AsyncGetReportConfig.java | 0 .../getreportconfig/SyncGetReportConfig.java | 0 .../SyncGetReportConfigReportconfigname.java | 0 .../SyncGetReportConfigString.java | 0 .../getreportdetail/AsyncGetReportDetail.java | 0 .../getreportdetail/SyncGetReportDetail.java | 0 .../SyncGetReportDetailReportdetailname.java | 0 .../SyncGetReportDetailString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListReportConfigs.java | 0 .../AsyncListReportConfigsPaged.java | 0 .../SyncListReportConfigs.java | 0 .../SyncListReportConfigsLocationname.java | 0 .../SyncListReportConfigsString.java | 0 .../AsyncListReportDetails.java | 0 .../AsyncListReportDetailsPaged.java | 0 .../SyncListReportDetails.java | 0 ...SyncListReportDetailsReportconfigname.java | 0 .../SyncListReportDetailsString.java | 0 .../AsyncUpdateReportConfig.java | 0 .../SyncUpdateReportConfig.java | 0 ...dateReportConfigReportconfigFieldmask.java | 0 .../getreportconfig/SyncGetReportConfig.java | 0 .../getreportconfig/SyncGetReportConfig.java | 0 .../v1/StorageInsightsGrpc.java | 839 ---------- .../v1/CloudStorageFiltersOrBuilder.java | 29 - .../v1/GetReportConfigRequestOrBuilder.java | 29 - .../v1/GetReportDetailRequestOrBuilder.java | 29 - .../v1/ParquetOptionsOrBuilder.java | 9 - .../cloud/storageinsights/v1/V1Proto.java | 445 ----- 105 files changed, 9370 insertions(+), 5821 deletions(-) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java (99%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java (99%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java (100%) create mode 100644 java-storageinsights/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java (68%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java (59%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java (63%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java (56%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java (65%) create mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java (66%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java (66%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java (70%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java (71%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java (71%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java (75%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java (61%) create mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java (61%) create mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java (67%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java (72%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java (72%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java (67%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java (72%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java (72%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java (64%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java (66%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java (70%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java (75%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java (61%) create mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java (66%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java (74%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java (70%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java (81%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java (70%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java (76%) create mode 100644 java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java (100%) rename {owl-bot-staging/java-storageinsights/v1 => java-storageinsights}/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java (100%) delete mode 100644 owl-bot-staging/java-storageinsights/v1/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java delete mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java delete mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java delete mode 100644 owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java diff --git a/java-storageinsights/README.md b/java-storageinsights/README.md index ee0f4d7d9c70..c9ce12453a25 100644 --- a/java-storageinsights/README.md +++ b/java-storageinsights/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.19.0 + 26.22.0 pom import @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-storageinsights/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storageinsights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.6.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.8.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java similarity index 99% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java index c1d9532351cd..895730aa2485 100644 --- a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.java +++ b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsSettings.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.location.GetLocationRequest; diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/package-info.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsCallableFactory.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java similarity index 99% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java index 2701ac04db43..9b95b76a40d0 100644 --- a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java +++ b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/GrpcStorageInsightsStub.java @@ -47,7 +47,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/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsCallableFactory.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/HttpJsonStorageInsightsStub.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStub.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java rename to java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/StorageInsightsStubSettings.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json b/java-storageinsights/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json rename to java-storageinsights/google-cloud-storageinsights/src/main/resources/META-INF/native-image/com.google.cloud.storageinsights.v1/reflect-config.json diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java b/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java rename to java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocations.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java b/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java rename to java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java b/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java rename to java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsights.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java b/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java rename to java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/MockStorageInsightsImpl.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java b/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java rename to java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientHttpJsonTest.java diff --git a/owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java b/java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java rename to java-storageinsights/google-cloud-storageinsights/src/test/java/com/google/cloud/storageinsights/v1/StorageInsightsClientTest.java diff --git a/java-storageinsights/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java b/java-storageinsights/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java new file mode 100644 index 000000000000..1ef61e7f618a --- /dev/null +++ b/java-storageinsights/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java @@ -0,0 +1,1101 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.storageinsights.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service describing handlers for resources
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/storageinsights/v1/storageinsights.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class StorageInsightsGrpc { + + private StorageInsightsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.storageinsights.v1.StorageInsights"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.ListReportConfigsRequest, + com.google.cloud.storageinsights.v1.ListReportConfigsResponse> + getListReportConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListReportConfigs", + requestType = com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, + responseType = com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.ListReportConfigsRequest, + com.google.cloud.storageinsights.v1.ListReportConfigsResponse> + getListReportConfigsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.ListReportConfigsRequest, + com.google.cloud.storageinsights.v1.ListReportConfigsResponse> + getListReportConfigsMethod; + if ((getListReportConfigsMethod = StorageInsightsGrpc.getListReportConfigsMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getListReportConfigsMethod = StorageInsightsGrpc.getListReportConfigsMethod) == null) { + StorageInsightsGrpc.getListReportConfigsMethod = + getListReportConfigsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReportConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ListReportConfigsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ListReportConfigsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageInsightsMethodDescriptorSupplier("ListReportConfigs")) + .build(); + } + } + } + return getListReportConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.GetReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getGetReportConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetReportConfig", + requestType = com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, + responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.GetReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getGetReportConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.GetReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getGetReportConfigMethod; + if ((getGetReportConfigMethod = StorageInsightsGrpc.getGetReportConfigMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getGetReportConfigMethod = StorageInsightsGrpc.getGetReportConfigMethod) == null) { + StorageInsightsGrpc.getGetReportConfigMethod = + getGetReportConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReportConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.GetReportConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ReportConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageInsightsMethodDescriptorSupplier("GetReportConfig")) + .build(); + } + } + } + return getGetReportConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.CreateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getCreateReportConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateReportConfig", + requestType = com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, + responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.CreateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getCreateReportConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.CreateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getCreateReportConfigMethod; + if ((getCreateReportConfigMethod = StorageInsightsGrpc.getCreateReportConfigMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getCreateReportConfigMethod = StorageInsightsGrpc.getCreateReportConfigMethod) + == null) { + StorageInsightsGrpc.getCreateReportConfigMethod = + getCreateReportConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReportConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.CreateReportConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ReportConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageInsightsMethodDescriptorSupplier("CreateReportConfig")) + .build(); + } + } + } + return getCreateReportConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getUpdateReportConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateReportConfig", + requestType = com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, + responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getUpdateReportConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig> + getUpdateReportConfigMethod; + if ((getUpdateReportConfigMethod = StorageInsightsGrpc.getUpdateReportConfigMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getUpdateReportConfigMethod = StorageInsightsGrpc.getUpdateReportConfigMethod) + == null) { + StorageInsightsGrpc.getUpdateReportConfigMethod = + getUpdateReportConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateReportConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ReportConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageInsightsMethodDescriptorSupplier("UpdateReportConfig")) + .build(); + } + } + } + return getUpdateReportConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, com.google.protobuf.Empty> + getDeleteReportConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteReportConfig", + requestType = com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, com.google.protobuf.Empty> + getDeleteReportConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, + com.google.protobuf.Empty> + getDeleteReportConfigMethod; + if ((getDeleteReportConfigMethod = StorageInsightsGrpc.getDeleteReportConfigMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getDeleteReportConfigMethod = StorageInsightsGrpc.getDeleteReportConfigMethod) + == null) { + StorageInsightsGrpc.getDeleteReportConfigMethod = + getDeleteReportConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteReportConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new StorageInsightsMethodDescriptorSupplier("DeleteReportConfig")) + .build(); + } + } + } + return getDeleteReportConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.ListReportDetailsRequest, + com.google.cloud.storageinsights.v1.ListReportDetailsResponse> + getListReportDetailsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListReportDetails", + requestType = com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, + responseType = com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.ListReportDetailsRequest, + com.google.cloud.storageinsights.v1.ListReportDetailsResponse> + getListReportDetailsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.ListReportDetailsRequest, + com.google.cloud.storageinsights.v1.ListReportDetailsResponse> + getListReportDetailsMethod; + if ((getListReportDetailsMethod = StorageInsightsGrpc.getListReportDetailsMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getListReportDetailsMethod = StorageInsightsGrpc.getListReportDetailsMethod) == null) { + StorageInsightsGrpc.getListReportDetailsMethod = + getListReportDetailsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReportDetails")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ListReportDetailsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ListReportDetailsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageInsightsMethodDescriptorSupplier("ListReportDetails")) + .build(); + } + } + } + return getListReportDetailsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.GetReportDetailRequest, + com.google.cloud.storageinsights.v1.ReportDetail> + getGetReportDetailMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetReportDetail", + requestType = com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, + responseType = com.google.cloud.storageinsights.v1.ReportDetail.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.GetReportDetailRequest, + com.google.cloud.storageinsights.v1.ReportDetail> + getGetReportDetailMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.storageinsights.v1.GetReportDetailRequest, + com.google.cloud.storageinsights.v1.ReportDetail> + getGetReportDetailMethod; + if ((getGetReportDetailMethod = StorageInsightsGrpc.getGetReportDetailMethod) == null) { + synchronized (StorageInsightsGrpc.class) { + if ((getGetReportDetailMethod = StorageInsightsGrpc.getGetReportDetailMethod) == null) { + StorageInsightsGrpc.getGetReportDetailMethod = + getGetReportDetailMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReportDetail")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.GetReportDetailRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.storageinsights.v1.ReportDetail + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageInsightsMethodDescriptorSupplier("GetReportDetail")) + .build(); + } + } + } + return getGetReportDetailMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static StorageInsightsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageInsightsStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsStub(channel, callOptions); + } + }; + return StorageInsightsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static StorageInsightsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageInsightsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsBlockingStub(channel, callOptions); + } + }; + return StorageInsightsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static StorageInsightsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageInsightsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsFutureStub(channel, callOptions); + } + }; + return StorageInsightsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Lists ReportConfigs in a given project and location.
+     * 
+ */ + default void listReportConfigs( + com.google.cloud.storageinsights.v1.ListReportConfigsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListReportConfigsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single ReportConfig.
+     * 
+ */ + default void getReportConfig( + com.google.cloud.storageinsights.v1.GetReportConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetReportConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new ReportConfig in a given project and location.
+     * 
+ */ + default void createReportConfig( + com.google.cloud.storageinsights.v1.CreateReportConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateReportConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single ReportConfig.
+     * 
+ */ + default void updateReportConfig( + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateReportConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single ReportConfig.
+     * 
+ */ + default void deleteReportConfig( + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteReportConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists ReportDetails in a given project and location.
+     * 
+ */ + default void listReportDetails( + com.google.cloud.storageinsights.v1.ListReportDetailsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListReportDetailsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single ReportDetail.
+     * 
+ */ + default void getReportDetail( + com.google.cloud.storageinsights.v1.GetReportDetailRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetReportDetailMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service StorageInsights. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public abstract static class StorageInsightsImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return StorageInsightsGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service StorageInsights. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class StorageInsightsStub + extends io.grpc.stub.AbstractAsyncStub { + private StorageInsightsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageInsightsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists ReportConfigs in a given project and location.
+     * 
+ */ + public void listReportConfigs( + com.google.cloud.storageinsights.v1.ListReportConfigsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListReportConfigsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single ReportConfig.
+     * 
+ */ + public void getReportConfig( + com.google.cloud.storageinsights.v1.GetReportConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetReportConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new ReportConfig in a given project and location.
+     * 
+ */ + public void createReportConfig( + com.google.cloud.storageinsights.v1.CreateReportConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateReportConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single ReportConfig.
+     * 
+ */ + public void updateReportConfig( + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateReportConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single ReportConfig.
+     * 
+ */ + public void deleteReportConfig( + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteReportConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists ReportDetails in a given project and location.
+     * 
+ */ + public void listReportDetails( + com.google.cloud.storageinsights.v1.ListReportDetailsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListReportDetailsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single ReportDetail.
+     * 
+ */ + public void getReportDetail( + com.google.cloud.storageinsights.v1.GetReportDetailRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetReportDetailMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service StorageInsights. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class StorageInsightsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private StorageInsightsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageInsightsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists ReportConfigs in a given project and location.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ListReportConfigsResponse listReportConfigs( + com.google.cloud.storageinsights.v1.ListReportConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListReportConfigsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single ReportConfig.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig( + com.google.cloud.storageinsights.v1.GetReportConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetReportConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new ReportConfig in a given project and location.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ReportConfig createReportConfig( + com.google.cloud.storageinsights.v1.CreateReportConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateReportConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single ReportConfig.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ReportConfig updateReportConfig( + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateReportConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single ReportConfig.
+     * 
+ */ + public com.google.protobuf.Empty deleteReportConfig( + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteReportConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists ReportDetails in a given project and location.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ListReportDetailsResponse listReportDetails( + com.google.cloud.storageinsights.v1.ListReportDetailsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListReportDetailsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single ReportDetail.
+     * 
+ */ + public com.google.cloud.storageinsights.v1.ReportDetail getReportDetail( + com.google.cloud.storageinsights.v1.GetReportDetailRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetReportDetailMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service StorageInsights. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class StorageInsightsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private StorageInsightsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageInsightsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageInsightsFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists ReportConfigs in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.storageinsights.v1.ListReportConfigsResponse> + listReportConfigs(com.google.cloud.storageinsights.v1.ListReportConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListReportConfigsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single ReportConfig.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.storageinsights.v1.ReportConfig> + getReportConfig(com.google.cloud.storageinsights.v1.GetReportConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetReportConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new ReportConfig in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.storageinsights.v1.ReportConfig> + createReportConfig(com.google.cloud.storageinsights.v1.CreateReportConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateReportConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single ReportConfig.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.storageinsights.v1.ReportConfig> + updateReportConfig(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateReportConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single ReportConfig.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteReportConfig(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteReportConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists ReportDetails in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.storageinsights.v1.ListReportDetailsResponse> + listReportDetails(com.google.cloud.storageinsights.v1.ListReportDetailsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListReportDetailsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single ReportDetail.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.storageinsights.v1.ReportDetail> + getReportDetail(com.google.cloud.storageinsights.v1.GetReportDetailRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetReportDetailMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_REPORT_CONFIGS = 0; + private static final int METHODID_GET_REPORT_CONFIG = 1; + private static final int METHODID_CREATE_REPORT_CONFIG = 2; + private static final int METHODID_UPDATE_REPORT_CONFIG = 3; + private static final int METHODID_DELETE_REPORT_CONFIG = 4; + private static final int METHODID_LIST_REPORT_DETAILS = 5; + private static final int METHODID_GET_REPORT_DETAIL = 6; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService 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_LIST_REPORT_CONFIGS: + serviceImpl.listReportConfigs( + (com.google.cloud.storageinsights.v1.ListReportConfigsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.storageinsights.v1.ListReportConfigsResponse>) + responseObserver); + break; + case METHODID_GET_REPORT_CONFIG: + serviceImpl.getReportConfig( + (com.google.cloud.storageinsights.v1.GetReportConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPORT_CONFIG: + serviceImpl.createReportConfig( + (com.google.cloud.storageinsights.v1.CreateReportConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_REPORT_CONFIG: + serviceImpl.updateReportConfig( + (com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPORT_CONFIG: + serviceImpl.deleteReportConfig( + (com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPORT_DETAILS: + serviceImpl.listReportDetails( + (com.google.cloud.storageinsights.v1.ListReportDetailsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.storageinsights.v1.ListReportDetailsResponse>) + responseObserver); + break; + case METHODID_GET_REPORT_DETAIL: + serviceImpl.getReportDetail( + (com.google.cloud.storageinsights.v1.GetReportDetailRequest) 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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListReportConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.ListReportConfigsRequest, + com.google.cloud.storageinsights.v1.ListReportConfigsResponse>( + service, METHODID_LIST_REPORT_CONFIGS))) + .addMethod( + getGetReportConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.GetReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig>( + service, METHODID_GET_REPORT_CONFIG))) + .addMethod( + getCreateReportConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.CreateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig>( + service, METHODID_CREATE_REPORT_CONFIG))) + .addMethod( + getUpdateReportConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, + com.google.cloud.storageinsights.v1.ReportConfig>( + service, METHODID_UPDATE_REPORT_CONFIG))) + .addMethod( + getDeleteReportConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_REPORT_CONFIG))) + .addMethod( + getListReportDetailsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.ListReportDetailsRequest, + com.google.cloud.storageinsights.v1.ListReportDetailsResponse>( + service, METHODID_LIST_REPORT_DETAILS))) + .addMethod( + getGetReportDetailMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.storageinsights.v1.GetReportDetailRequest, + com.google.cloud.storageinsights.v1.ReportDetail>( + service, METHODID_GET_REPORT_DETAIL))) + .build(); + } + + private abstract static class StorageInsightsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + StorageInsightsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("StorageInsights"); + } + } + + private static final class StorageInsightsFileDescriptorSupplier + extends StorageInsightsBaseDescriptorSupplier { + StorageInsightsFileDescriptorSupplier() {} + } + + private static final class StorageInsightsMethodDescriptorSupplier + extends StorageInsightsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + StorageInsightsMethodDescriptorSupplier(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 (StorageInsightsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new StorageInsightsFileDescriptorSupplier()) + .addMethod(getListReportConfigsMethod()) + .addMethod(getGetReportConfigMethod()) + .addMethod(getCreateReportConfigMethod()) + .addMethod(getUpdateReportConfigMethod()) + .addMethod(getDeleteReportConfigMethod()) + .addMethod(getListReportDetailsMethod()) + .addMethod(getGetReportDetailMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java similarity index 68% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java index 245ea11e9ecb..3b597b566551 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptions.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Options to configure CSV formatted reports.
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.CSVOptions} */ -public final class CSVOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CSVOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.CSVOptions) CSVOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CSVOptions.newBuilder() to construct. private CSVOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CSVOptions() { recordSeparator_ = ""; delimiter_ = ""; @@ -26,33 +44,38 @@ private CSVOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CSVOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.CSVOptions.class, com.google.cloud.storageinsights.v1.CSVOptions.Builder.class); + com.google.cloud.storageinsights.v1.CSVOptions.class, + com.google.cloud.storageinsights.v1.CSVOptions.Builder.class); } public static final int RECORD_SEPARATOR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object recordSeparator_ = ""; /** + * + * *
    * Record separator characters in CSV.
    * 
* * string record_separator = 1; + * * @return The recordSeparator. */ @java.lang.Override @@ -61,29 +84,29 @@ public java.lang.String getRecordSeparator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordSeparator_ = s; return s; } } /** + * + * *
    * Record separator characters in CSV.
    * 
* * string record_separator = 1; + * * @return The bytes for recordSeparator. */ @java.lang.Override - public com.google.protobuf.ByteString - getRecordSeparatorBytes() { + public com.google.protobuf.ByteString getRecordSeparatorBytes() { java.lang.Object ref = recordSeparator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recordSeparator_ = b; return b; } else { @@ -92,14 +115,18 @@ public java.lang.String getRecordSeparator() { } public static final int DELIMITER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; /** + * + * *
    * Delimiter characters in CSV.
    * 
* * string delimiter = 2; + * * @return The delimiter. */ @java.lang.Override @@ -108,29 +135,29 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** + * + * *
    * Delimiter characters in CSV.
    * 
* * string delimiter = 2; + * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -141,11 +168,14 @@ public java.lang.String getDelimiter() { public static final int HEADER_REQUIRED_FIELD_NUMBER = 3; private boolean headerRequired_ = false; /** + * + * *
    * If set, will include a header row in the CSV report.
    * 
* * bool header_required = 3; + * * @return The headerRequired. */ @java.lang.Override @@ -154,6 +184,7 @@ public boolean getHeaderRequired() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,8 +196,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(recordSeparator_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, recordSeparator_); } @@ -192,8 +222,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, delimiter_); } if (headerRequired_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, headerRequired_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, headerRequired_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -203,19 +232,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.storageinsights.v1.CSVOptions)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.CSVOptions other = (com.google.cloud.storageinsights.v1.CSVOptions) obj; + com.google.cloud.storageinsights.v1.CSVOptions other = + (com.google.cloud.storageinsights.v1.CSVOptions) obj; - if (!getRecordSeparator() - .equals(other.getRecordSeparator())) return false; - if (!getDelimiter() - .equals(other.getDelimiter())) return false; - if (getHeaderRequired() - != other.getHeaderRequired()) return false; + if (!getRecordSeparator().equals(other.getRecordSeparator())) return false; + if (!getDelimiter().equals(other.getDelimiter())) return false; + if (getHeaderRequired() != other.getHeaderRequired()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,139 +259,142 @@ public int hashCode() { hash = (37 * hash) + DELIMITER_FIELD_NUMBER; hash = (53 * hash) + getDelimiter().hashCode(); hash = (37 * hash) + HEADER_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHeaderRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHeaderRequired()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CSVOptions 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.storageinsights.v1.CSVOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CSVOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CSVOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.CSVOptions 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.storageinsights.v1.CSVOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.CSVOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.storageinsights.v1.CSVOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Options to configure CSV formatted reports.
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.CSVOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.CSVOptions) com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.CSVOptions.class, com.google.cloud.storageinsights.v1.CSVOptions.Builder.class); + com.google.cloud.storageinsights.v1.CSVOptions.class, + com.google.cloud.storageinsights.v1.CSVOptions.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.CSVOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; } @java.lang.Override @@ -397,8 +427,11 @@ public com.google.cloud.storageinsights.v1.CSVOptions build() { @java.lang.Override public com.google.cloud.storageinsights.v1.CSVOptions buildPartial() { - com.google.cloud.storageinsights.v1.CSVOptions result = new com.google.cloud.storageinsights.v1.CSVOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.CSVOptions result = + new com.google.cloud.storageinsights.v1.CSVOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -420,38 +453,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.CSVOptions result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.CSVOptions) { - return mergeFrom((com.google.cloud.storageinsights.v1.CSVOptions)other); + return mergeFrom((com.google.cloud.storageinsights.v1.CSVOptions) other); } else { super.mergeFrom(other); return this; @@ -499,27 +533,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - recordSeparator_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - delimiter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - headerRequired_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + recordSeparator_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + delimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + headerRequired_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -529,22 +567,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object recordSeparator_ = ""; /** + * + * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; + * * @return The recordSeparator. */ public java.lang.String getRecordSeparator() { java.lang.Object ref = recordSeparator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordSeparator_ = s; return s; @@ -553,20 +594,21 @@ public java.lang.String getRecordSeparator() { } } /** + * + * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; + * * @return The bytes for recordSeparator. */ - public com.google.protobuf.ByteString - getRecordSeparatorBytes() { + public com.google.protobuf.ByteString getRecordSeparatorBytes() { java.lang.Object ref = recordSeparator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recordSeparator_ = b; return b; } else { @@ -574,28 +616,35 @@ public java.lang.String getRecordSeparator() { } } /** + * + * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; + * * @param value The recordSeparator to set. * @return This builder for chaining. */ - public Builder setRecordSeparator( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRecordSeparator(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } recordSeparator_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; + * * @return This builder for chaining. */ public Builder clearRecordSeparator() { @@ -605,17 +654,21 @@ public Builder clearRecordSeparator() { return this; } /** + * + * *
      * Record separator characters in CSV.
      * 
* * string record_separator = 1; + * * @param value The bytes for recordSeparator to set. * @return This builder for chaining. */ - public Builder setRecordSeparatorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRecordSeparatorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); recordSeparator_ = value; bitField0_ |= 0x00000001; @@ -625,18 +678,20 @@ public Builder setRecordSeparatorBytes( private java.lang.Object delimiter_ = ""; /** + * + * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; + * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -645,20 +700,21 @@ public java.lang.String getDelimiter() { } } /** + * + * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; + * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -666,28 +722,35 @@ public java.lang.String getDelimiter() { } } /** + * + * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; + * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelimiter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } delimiter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; + * * @return This builder for chaining. */ public Builder clearDelimiter() { @@ -697,17 +760,21 @@ public Builder clearDelimiter() { return this; } /** + * + * *
      * Delimiter characters in CSV.
      * 
* * string delimiter = 2; + * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); delimiter_ = value; bitField0_ |= 0x00000002; @@ -715,13 +782,16 @@ public Builder setDelimiterBytes( return this; } - private boolean headerRequired_ ; + private boolean headerRequired_; /** + * + * *
      * If set, will include a header row in the CSV report.
      * 
* * bool header_required = 3; + * * @return The headerRequired. */ @java.lang.Override @@ -729,11 +799,14 @@ public boolean getHeaderRequired() { return headerRequired_; } /** + * + * *
      * If set, will include a header row in the CSV report.
      * 
* * bool header_required = 3; + * * @param value The headerRequired to set. * @return This builder for chaining. */ @@ -745,11 +818,14 @@ public Builder setHeaderRequired(boolean value) { return this; } /** + * + * *
      * If set, will include a header row in the CSV report.
      * 
* * bool header_required = 3; + * * @return This builder for chaining. */ public Builder clearHeaderRequired() { @@ -758,9 +834,9 @@ public Builder clearHeaderRequired() { 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); } @@ -770,12 +846,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.CSVOptions) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.CSVOptions) private static final com.google.cloud.storageinsights.v1.CSVOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.CSVOptions(); } @@ -784,27 +860,27 @@ public static com.google.cloud.storageinsights.v1.CSVOptions getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CSVOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CSVOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -819,6 +895,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.CSVOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java similarity index 59% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java index c9f929afd140..42dc4b4989a4 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CSVOptionsOrBuilder.java @@ -1,58 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface CSVOptionsOrBuilder extends +public interface CSVOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CSVOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Record separator characters in CSV.
    * 
* * string record_separator = 1; + * * @return The recordSeparator. */ java.lang.String getRecordSeparator(); /** + * + * *
    * Record separator characters in CSV.
    * 
* * string record_separator = 1; + * * @return The bytes for recordSeparator. */ - com.google.protobuf.ByteString - getRecordSeparatorBytes(); + com.google.protobuf.ByteString getRecordSeparatorBytes(); /** + * + * *
    * Delimiter characters in CSV.
    * 
* * string delimiter = 2; + * * @return The delimiter. */ java.lang.String getDelimiter(); /** + * + * *
    * Delimiter characters in CSV.
    * 
* * string delimiter = 2; + * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString - getDelimiterBytes(); + com.google.protobuf.ByteString getDelimiterBytes(); /** + * + * *
    * If set, will include a header row in the CSV report.
    * 
* * bool header_required = 3; + * * @return The headerRequired. */ boolean getHeaderRequired(); diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java similarity index 63% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java index d95ea40363ac..2957aebcbdba 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Options to store reports in storage systems.
  * Next ID: 3
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.CloudStorageDestinationOptions}
  */
-public final class CloudStorageDestinationOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloudStorageDestinationOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.CloudStorageDestinationOptions)
     CloudStorageDestinationOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloudStorageDestinationOptions.newBuilder() to construct.
-  private CloudStorageDestinationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CloudStorageDestinationOptions(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloudStorageDestinationOptions() {
     bucket_ = "";
     destinationPath_ = "";
@@ -27,33 +46,38 @@ private CloudStorageDestinationOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CloudStorageDestinationOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.class, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder.class);
+            com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.class,
+            com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder.class);
   }
 
   public static final int BUCKET_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object bucket_ = "";
   /**
+   *
+   *
    * 
    * Destination bucket.
    * 
* * string bucket = 1; + * * @return The bucket. */ @java.lang.Override @@ -62,29 +86,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; } } /** + * + * *
    * Destination bucket.
    * 
* * 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 { @@ -93,15 +117,19 @@ public java.lang.String getBucket() { } public static final int DESTINATION_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object destinationPath_ = ""; /** + * + * *
    * Destination path is the path in the bucket where the report should be
    * generated.
    * 
* * string destination_path = 2; + * * @return The destinationPath. */ @java.lang.Override @@ -110,30 +138,30 @@ public java.lang.String getDestinationPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationPath_ = s; return s; } } /** + * + * *
    * Destination path is the path in the bucket where the report should be
    * generated.
    * 
* * string destination_path = 2; + * * @return The bytes for destinationPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationPathBytes() { + public com.google.protobuf.ByteString getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationPath_ = b; return b; } else { @@ -142,6 +170,7 @@ public java.lang.String getDestinationPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,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_); } @@ -184,17 +212,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.storageinsights.v1.CloudStorageDestinationOptions)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions other = (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) obj; + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions other = + (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) obj; - if (!getBucket() - .equals(other.getBucket())) return false; - if (!getDestinationPath() - .equals(other.getDestinationPath())) return false; + if (!getBucket().equals(other.getBucket())) return false; + if (!getDestinationPath().equals(other.getDestinationPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,98 +243,105 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Options to store reports in storage systems.
    * Next ID: 3
@@ -315,33 +349,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.CloudStorageDestinationOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.CloudStorageDestinationOptions)
       com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.class, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder.class);
+              com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.class,
+              com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder.class);
     }
 
-    // Construct using com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -352,14 +386,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getDefaultInstanceForType() {
-      return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance();
+    public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions
+        getDefaultInstanceForType() {
+      return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -373,13 +409,17 @@ public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions build(
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions buildPartial() {
-      com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions result = new com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions result =
+          new com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions result) {
+    private void buildPartial0(
+        com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.bucket_ = bucket_;
@@ -393,46 +433,51 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.CloudStorageDesti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.CloudStorageDestinationOptions) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions)other);
+        return mergeFrom(
+            (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions other) {
-      if (other == com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions other) {
+      if (other
+          == com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions
+              .getDefaultInstance()) return this;
       if (!other.getBucket().isEmpty()) {
         bucket_ = other.bucket_;
         bitField0_ |= 0x00000001;
@@ -469,22 +514,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              bucket_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              destinationPath_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                bucket_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                destinationPath_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -494,22 +542,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object bucket_ = "";
     /**
+     *
+     *
      * 
      * Destination bucket.
      * 
* * 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; @@ -518,20 +569,21 @@ public java.lang.String getBucket() { } } /** + * + * *
      * Destination bucket.
      * 
* * 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 { @@ -539,28 +591,35 @@ public java.lang.String getBucket() { } } /** + * + * *
      * Destination bucket.
      * 
* * string bucket = 1; + * * @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; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Destination bucket.
      * 
* * string bucket = 1; + * * @return This builder for chaining. */ public Builder clearBucket() { @@ -570,17 +629,21 @@ public Builder clearBucket() { return this; } /** + * + * *
      * Destination bucket.
      * 
* * string bucket = 1; + * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBucketBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); bucket_ = value; bitField0_ |= 0x00000001; @@ -590,19 +653,21 @@ public Builder setBucketBytes( private java.lang.Object destinationPath_ = ""; /** + * + * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; + * * @return The destinationPath. */ public java.lang.String getDestinationPath() { java.lang.Object ref = destinationPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationPath_ = s; return s; @@ -611,21 +676,22 @@ public java.lang.String getDestinationPath() { } } /** + * + * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; + * * @return The bytes for destinationPath. */ - public com.google.protobuf.ByteString - getDestinationPathBytes() { + public com.google.protobuf.ByteString getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationPath_ = b; return b; } else { @@ -633,30 +699,37 @@ public java.lang.String getDestinationPath() { } } /** + * + * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; + * * @param value The destinationPath to set. * @return This builder for chaining. */ - public Builder setDestinationPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationPath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; + * * @return This builder for chaining. */ public Builder clearDestinationPath() { @@ -666,27 +739,31 @@ public Builder clearDestinationPath() { return this; } /** + * + * *
      * Destination path is the path in the bucket where the report should be
      * generated.
      * 
* * string destination_path = 2; + * * @param value The bytes for destinationPath to set. * @return This builder for chaining. */ - public Builder setDestinationPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationPath_ = value; bitField0_ |= 0x00000002; 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); } @@ -696,41 +773,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.CloudStorageDestinationOptions) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.CloudStorageDestinationOptions) - private static final com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions(); } - public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getDefaultInstance() { + public static com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageDestinationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageDestinationOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,9 +821,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java similarity index 56% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java index 13f1318e2a50..aaed20b16afb 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageDestinationOptionsOrBuilder.java @@ -1,51 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface CloudStorageDestinationOptionsOrBuilder extends +public interface CloudStorageDestinationOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CloudStorageDestinationOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Destination bucket.
    * 
* * string bucket = 1; + * * @return The bucket. */ java.lang.String getBucket(); /** + * + * *
    * Destination bucket.
    * 
* * string bucket = 1; + * * @return The bytes for bucket. */ - com.google.protobuf.ByteString - getBucketBytes(); + com.google.protobuf.ByteString getBucketBytes(); /** + * + * *
    * Destination path is the path in the bucket where the report should be
    * generated.
    * 
* * string destination_path = 2; + * * @return The destinationPath. */ java.lang.String getDestinationPath(); /** + * + * *
    * Destination path is the path in the bucket where the report should be
    * generated.
    * 
* * string destination_path = 2; + * * @return The bytes for destinationPath. */ - com.google.protobuf.ByteString - getDestinationPathBytes(); + com.google.protobuf.ByteString getDestinationPathBytes(); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java similarity index 65% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java index 0ef90ed1be4f..5e0126f9bcd2 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFilters.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Options to filter data on storage systems.
  * Next ID: 2
@@ -11,48 +28,54 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.CloudStorageFilters}
  */
-public final class CloudStorageFilters extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloudStorageFilters extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.CloudStorageFilters)
     CloudStorageFiltersOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloudStorageFilters.newBuilder() to construct.
   private CloudStorageFilters(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloudStorageFilters() {
     bucket_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CloudStorageFilters();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.CloudStorageFilters.class, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder.class);
+            com.google.cloud.storageinsights.v1.CloudStorageFilters.class,
+            com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder.class);
   }
 
   public static final int BUCKET_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object bucket_ = "";
   /**
+   *
+   *
    * 
    * Bucket for which the report will be generated.
    * 
* * string bucket = 1; + * * @return The bucket. */ @java.lang.Override @@ -61,29 +84,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; } } /** + * + * *
    * Bucket for which the report will be generated.
    * 
* * 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 { @@ -92,6 +115,7 @@ public java.lang.String getBucket() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +127,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_); } @@ -128,15 +151,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.storageinsights.v1.CloudStorageFilters)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.CloudStorageFilters other = (com.google.cloud.storageinsights.v1.CloudStorageFilters) obj; + com.google.cloud.storageinsights.v1.CloudStorageFilters other = + (com.google.cloud.storageinsights.v1.CloudStorageFilters) obj; - if (!getBucket() - .equals(other.getBucket())) return false; + if (!getBucket().equals(other.getBucket())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,98 +179,104 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.CloudStorageFilters 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.storageinsights.v1.CloudStorageFilters parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.CloudStorageFilters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.CloudStorageFilters prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.CloudStorageFilters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Options to filter data on storage systems.
    * Next ID: 2
@@ -255,33 +284,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.CloudStorageFilters}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.CloudStorageFilters)
       com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.CloudStorageFilters.class, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder.class);
+              com.google.cloud.storageinsights.v1.CloudStorageFilters.class,
+              com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.CloudStorageFilters.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -291,9 +319,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +340,11 @@ public com.google.cloud.storageinsights.v1.CloudStorageFilters build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.CloudStorageFilters buildPartial() {
-      com.google.cloud.storageinsights.v1.CloudStorageFilters result = new com.google.cloud.storageinsights.v1.CloudStorageFilters(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.storageinsights.v1.CloudStorageFilters result =
+          new com.google.cloud.storageinsights.v1.CloudStorageFilters(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +360,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.CloudStorageFilte
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.CloudStorageFilters) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.CloudStorageFilters)other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.CloudStorageFilters) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -368,7 +400,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.storageinsights.v1.CloudStorageFilters other) {
-      if (other == com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance()) return this;
+      if (other == com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance())
+        return this;
       if (!other.getBucket().isEmpty()) {
         bucket_ = other.bucket_;
         bitField0_ |= 0x00000001;
@@ -400,17 +433,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              bucket_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                bucket_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -420,22 +455,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object bucket_ = "";
     /**
+     *
+     *
      * 
      * Bucket for which the report will be generated.
      * 
* * 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; @@ -444,20 +482,21 @@ public java.lang.String getBucket() { } } /** + * + * *
      * Bucket for which the report will be generated.
      * 
* * 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 { @@ -465,28 +504,35 @@ public java.lang.String getBucket() { } } /** + * + * *
      * Bucket for which the report will be generated.
      * 
* * string bucket = 1; + * * @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; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Bucket for which the report will be generated.
      * 
* * string bucket = 1; + * * @return This builder for chaining. */ public Builder clearBucket() { @@ -496,26 +542,30 @@ public Builder clearBucket() { return this; } /** + * + * *
      * Bucket for which the report will be generated.
      * 
* * string bucket = 1; + * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBucketBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); bucket_ = value; bitField0_ |= 0x00000001; 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); } @@ -525,12 +575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.CloudStorageFilters) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.CloudStorageFilters) private static final com.google.cloud.storageinsights.v1.CloudStorageFilters DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.CloudStorageFilters(); } @@ -539,27 +589,27 @@ public static com.google.cloud.storageinsights.v1.CloudStorageFilters getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageFilters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageFilters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +624,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.CloudStorageFilters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java new file mode 100644 index 000000000000..26bf6d775039 --- /dev/null +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public interface CloudStorageFiltersOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CloudStorageFilters) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Bucket for which the report will be generated.
+   * 
+ * + * string bucket = 1; + * + * @return The bucket. + */ + java.lang.String getBucket(); + /** + * + * + *
+   * Bucket for which the report will be generated.
+   * 
+ * + * string bucket = 1; + * + * @return The bytes for bucket. + */ + com.google.protobuf.ByteString getBucketBytes(); +} diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java similarity index 66% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java index 542cbfe6f448..598b6f7cca41 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message for creating a ReportConfig
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.CreateReportConfigRequest} */ -public final class CreateReportConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateReportConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.CreateReportConfigRequest) CreateReportConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateReportConfigRequest.newBuilder() to construct. private CreateReportConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateReportConfigRequest() { parent_ = ""; requestId_ = ""; @@ -26,33 +44,40 @@ private CreateReportConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateReportConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, com.google.cloud.storageinsights.v1.CreateReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, + com.google.cloud.storageinsights.v1.CreateReportConfigRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * 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 @@ -61,29 +86,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. Value for parent.
    * 
* - * 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 { @@ -94,11 +121,16 @@ public java.lang.String getParent() { public static final int REPORT_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.storageinsights.v1.ReportConfig reportConfig_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the reportConfig field is set. */ @java.lang.Override @@ -106,33 +138,49 @@ public boolean hasReportConfig() { return reportConfig_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportConfig. */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig() { - return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; + return reportConfig_ == null + ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() + : reportConfig_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder() { - return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; + return reportConfig_ == null + ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() + : reportConfig_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -150,6 +198,7 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -158,14 +207,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -183,16 +233,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -201,6 +250,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,8 +285,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (reportConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getReportConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReportConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -250,22 +298,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.storageinsights.v1.CreateReportConfigRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.CreateReportConfigRequest other = (com.google.cloud.storageinsights.v1.CreateReportConfigRequest) obj; + com.google.cloud.storageinsights.v1.CreateReportConfigRequest other = + (com.google.cloud.storageinsights.v1.CreateReportConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasReportConfig() != other.hasReportConfig()) return false; if (hasReportConfig()) { - if (!getReportConfig() - .equals(other.getReportConfig())) return false; + if (!getReportConfig().equals(other.getReportConfig())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -291,131 +337,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest 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.storageinsights.v1.CreateReportConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.CreateReportConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.CreateReportConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for creating a ReportConfig
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.CreateReportConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.CreateReportConfigRequest) com.google.cloud.storageinsights.v1.CreateReportConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, com.google.cloud.storageinsights.v1.CreateReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, + com.google.cloud.storageinsights.v1.CreateReportConfigRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.CreateReportConfigRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.CreateReportConfigRequest getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.CreateReportConfigRequest + getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.CreateReportConfigRequest.getDefaultInstance(); } @@ -452,21 +504,24 @@ public com.google.cloud.storageinsights.v1.CreateReportConfigRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.CreateReportConfigRequest buildPartial() { - com.google.cloud.storageinsights.v1.CreateReportConfigRequest result = new com.google.cloud.storageinsights.v1.CreateReportConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.CreateReportConfigRequest result = + new com.google.cloud.storageinsights.v1.CreateReportConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.storageinsights.v1.CreateReportConfigRequest result) { + private void buildPartial0( + com.google.cloud.storageinsights.v1.CreateReportConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.reportConfig_ = reportConfigBuilder_ == null - ? reportConfig_ - : reportConfigBuilder_.build(); + result.reportConfig_ = + reportConfigBuilder_ == null ? reportConfig_ : reportConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -477,38 +532,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.CreateReportConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.CreateReportConfigRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.CreateReportConfigRequest)other); + return mergeFrom((com.google.cloud.storageinsights.v1.CreateReportConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +572,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.CreateReportConfigRequest other) { - if (other == com.google.cloud.storageinsights.v1.CreateReportConfigRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.storageinsights.v1.CreateReportConfigRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -556,29 +614,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - input.readMessage( - getReportConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + input.readMessage(getReportConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,22 +648,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * 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; @@ -612,20 +677,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * 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 { @@ -633,28 +701,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * 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() { @@ -664,17 +743,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -684,39 +769,58 @@ public Builder setParentBytes( private com.google.cloud.storageinsights.v1.ReportConfig reportConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> reportConfigBuilder_; + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + reportConfigBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the reportConfig field is set. */ public boolean hasReportConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportConfig. */ public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig() { if (reportConfigBuilder_ == null) { - return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; + return reportConfig_ == null + ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() + : reportConfig_; } else { return reportConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReportConfig(com.google.cloud.storageinsights.v1.ReportConfig value) { if (reportConfigBuilder_ == null) { @@ -732,11 +836,15 @@ public Builder setReportConfig(com.google.cloud.storageinsights.v1.ReportConfig return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReportConfig( com.google.cloud.storageinsights.v1.ReportConfig.Builder builderForValue) { @@ -750,17 +858,22 @@ public Builder setReportConfig( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeReportConfig(com.google.cloud.storageinsights.v1.ReportConfig value) { if (reportConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - reportConfig_ != null && - reportConfig_ != com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && reportConfig_ != null + && reportConfig_ + != com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) { getReportConfigBuilder().mergeFrom(value); } else { reportConfig_ = value; @@ -773,11 +886,15 @@ public Builder mergeReportConfig(com.google.cloud.storageinsights.v1.ReportConfi return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearReportConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -790,11 +907,15 @@ public Builder clearReportConfig() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigBuilder() { bitField0_ |= 0x00000002; @@ -802,36 +923,48 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigB return getReportConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder() { if (reportConfigBuilder_ != null) { return reportConfigBuilder_.getMessageOrBuilder(); } else { - return reportConfig_ == null ? - com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; + return reportConfig_ == null + ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() + : reportConfig_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> getReportConfigFieldBuilder() { if (reportConfigBuilder_ == null) { - reportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( - getReportConfig(), - getParentForChildren(), - isClean()); + reportConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( + getReportConfig(), getParentForChildren(), isClean()); reportConfig_ = null; } return reportConfigBuilder_; @@ -839,6 +972,8 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -856,13 +991,13 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -871,6 +1006,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -888,15 +1025,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -904,6 +1040,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -921,18 +1059,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -950,6 +1092,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -959,6 +1102,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -976,21 +1121,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; 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); } @@ -1000,12 +1147,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.CreateReportConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.CreateReportConfigRequest) - private static final com.google.cloud.storageinsights.v1.CreateReportConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.CreateReportConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.CreateReportConfigRequest(); } @@ -1014,27 +1162,27 @@ public static com.google.cloud.storageinsights.v1.CreateReportConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReportConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReportConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1197,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.CreateReportConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java index 329cb1c97048..4ad00d23cb1c 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CreateReportConfigRequestOrBuilder.java @@ -1,60 +1,101 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface CreateReportConfigRequestOrBuilder extends +public interface CreateReportConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CreateReportConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * 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. Value for parent.
    * 
* - * 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 resource being created
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the reportConfig field is set. */ boolean hasReportConfig(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportConfig. */ com.google.cloud.storageinsights.v1.ReportConfig getReportConfig(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -72,10 +113,13 @@ public interface CreateReportConfigRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -93,8 +137,8 @@ public interface CreateReportConfigRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java similarity index 70% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java index 4c0927a08ac3..6ae173a073e0 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message for deleting a ReportConfig
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.DeleteReportConfigRequest} */ -public final class DeleteReportConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteReportConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.DeleteReportConfigRequest) DeleteReportConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteReportConfigRequest.newBuilder() to construct. private DeleteReportConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteReportConfigRequest() { name_ = ""; requestId_ = ""; @@ -26,33 +44,40 @@ private DeleteReportConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteReportConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 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 @@ -61,29 +86,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 resource
    * 
* - * string name = 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 { @@ -94,11 +121,14 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** + * + * *
    * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
    * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -107,9 +137,12 @@ public boolean getForce() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -127,6 +160,7 @@ public boolean getForce() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -135,14 +169,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -160,16 +195,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -178,6 +212,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,8 +224,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_); } @@ -213,8 +247,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -227,19 +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.storageinsights.v1.DeleteReportConfigRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest other = (com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) obj; + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest other = + (com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -254,8 +285,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -264,131 +294,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest 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.storageinsights.v1.DeleteReportConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for deleting a ReportConfig
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.DeleteReportConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.DeleteReportConfigRequest) com.google.cloud.storageinsights.v1.DeleteReportConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -400,13 +435,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest + getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.getDefaultInstance(); } @@ -421,13 +457,17 @@ public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest buildPartial() { - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest result = new com.google.cloud.storageinsights.v1.DeleteReportConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest result = + new com.google.cloud.storageinsights.v1.DeleteReportConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest result) { + private void buildPartial0( + com.google.cloud.storageinsights.v1.DeleteReportConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -444,38 +484,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.DeleteReportConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.DeleteReportConfigRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.DeleteReportConfigRequest)other); + return mergeFrom((com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -483,7 +524,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest other) { - if (other == com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -523,27 +566,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - force_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + force_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -553,22 +600,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 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; @@ -577,20 +629,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 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 { @@ -598,28 +653,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string 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() { @@ -629,17 +695,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -647,13 +719,16 @@ public Builder setNameBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -661,11 +736,14 @@ public boolean getForce() { return force_; } /** + * + * *
      * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -677,11 +755,14 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -693,6 +774,8 @@ public Builder clearForce() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -710,13 +793,13 @@ public Builder clearForce() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -725,6 +808,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -742,15 +827,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -758,6 +842,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -775,18 +861,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -804,6 +894,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -813,6 +904,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -830,21 +923,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; 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); } @@ -854,12 +949,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.DeleteReportConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.DeleteReportConfigRequest) - private static final com.google.cloud.storageinsights.v1.DeleteReportConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.DeleteReportConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.DeleteReportConfigRequest(); } @@ -868,27 +964,27 @@ public static com.google.cloud.storageinsights.v1.DeleteReportConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteReportConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteReportConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,6 +999,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.DeleteReportConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java index 01475e67c144..210080fb8bf8 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DeleteReportConfigRequestOrBuilder.java @@ -1,43 +1,73 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface DeleteReportConfigRequestOrBuilder extends +public interface DeleteReportConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.DeleteReportConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 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 resource
    * 
* - * string name = 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(); /** + * + * *
    * Optional. If set, all ReportDetails for this ReportConfig will be deleted.
    * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ boolean getForce(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -55,10 +85,13 @@ public interface DeleteReportConfigRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -76,8 +109,8 @@ public interface DeleteReportConfigRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java similarity index 71% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java index 664fdda769b5..d94a08a60786 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * ReportConfig Resource:
  *
@@ -12,49 +29,54 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.FrequencyOptions}
  */
-public final class FrequencyOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FrequencyOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.FrequencyOptions)
     FrequencyOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FrequencyOptions.newBuilder() to construct.
   private FrequencyOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FrequencyOptions() {
     frequency_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FrequencyOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.FrequencyOptions.class, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder.class);
+            com.google.cloud.storageinsights.v1.FrequencyOptions.class,
+            com.google.cloud.storageinsights.v1.FrequencyOptions.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * This ENUM specifies possible frequencies of report generation.
    * 
* * Protobuf enum {@code google.cloud.storageinsights.v1.FrequencyOptions.Frequency} */ - public enum Frequency - implements com.google.protobuf.ProtocolMessageEnum { + public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -63,6 +85,8 @@ public enum Frequency */ FREQUENCY_UNSPECIFIED(0), /** + * + * *
      * Report will be generated daily.
      * 
@@ -71,6 +95,8 @@ public enum Frequency */ DAILY(1), /** + * + * *
      * Report will be generated weekly.
      * 
@@ -82,6 +108,8 @@ public enum Frequency ; /** + * + * *
      * Unspecified.
      * 
@@ -90,6 +118,8 @@ public enum Frequency */ public static final int FREQUENCY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Report will be generated daily.
      * 
@@ -98,6 +128,8 @@ public enum Frequency */ public static final int DAILY_VALUE = 1; /** + * + * *
      * Report will be generated weekly.
      * 
@@ -106,7 +138,6 @@ public enum Frequency */ public static final int WEEKLY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -131,49 +162,51 @@ public static Frequency valueOf(int value) { */ public static Frequency forNumber(int value) { switch (value) { - case 0: return FREQUENCY_UNSPECIFIED; - case 1: return DAILY; - case 2: return WEEKLY; - default: return null; + case 0: + return FREQUENCY_UNSPECIFIED; + case 1: + return DAILY; + case 2: + return WEEKLY; + 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.storageinsights.v1.FrequencyOptions.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.FrequencyOptions.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; @@ -193,38 +226,52 @@ private Frequency(int value) { public static final int FREQUENCY_FIELD_NUMBER = 1; private int frequency_ = 0; /** + * + * *
    * Frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override public int getFrequencyValue() { + @java.lang.Override + public int getFrequencyValue() { return frequency_; } /** + * + * *
    * Frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @return The frequency. */ - @java.lang.Override public com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency getFrequency() { - com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency result = com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.forNumber(frequency_); - return result == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency getFrequency() { + com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency result = + com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.forNumber(frequency_); + return result == null + ? com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.UNRECOGNIZED + : result; } public static final int START_DATE_FIELD_NUMBER = 2; private com.google.type.Date startDate_; /** + * + * *
    * The date from which report generation should start.
    * UTC time zone.
    * 
* * .google.type.Date start_date = 2; + * * @return Whether the startDate field is set. */ @java.lang.Override @@ -232,12 +279,15 @@ public boolean hasStartDate() { return startDate_ != null; } /** + * + * *
    * The date from which report generation should start.
    * UTC time zone.
    * 
* * .google.type.Date start_date = 2; + * * @return The startDate. */ @java.lang.Override @@ -245,6 +295,8 @@ public com.google.type.Date getStartDate() { return startDate_ == null ? com.google.type.Date.getDefaultInstance() : startDate_; } /** + * + * *
    * The date from which report generation should start.
    * UTC time zone.
@@ -260,12 +312,15 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
   public static final int END_DATE_FIELD_NUMBER = 3;
   private com.google.type.Date endDate_;
   /**
+   *
+   *
    * 
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
    * 
* * .google.type.Date end_date = 3; + * * @return Whether the endDate field is set. */ @java.lang.Override @@ -273,12 +328,15 @@ public boolean hasEndDate() { return endDate_ != null; } /** + * + * *
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
    * 
* * .google.type.Date end_date = 3; + * * @return The endDate. */ @java.lang.Override @@ -286,6 +344,8 @@ public com.google.type.Date getEndDate() { return endDate_ == null ? com.google.type.Date.getDefaultInstance() : endDate_; } /** + * + * *
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
@@ -299,6 +359,7 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -310,9 +371,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (frequency_ != com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (frequency_
+        != com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.FREQUENCY_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, frequency_);
     }
     if (startDate_ != null) {
@@ -330,17 +392,16 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (frequency_ != com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, frequency_);
+    if (frequency_
+        != com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.FREQUENCY_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, frequency_);
     }
     if (startDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartDate());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartDate());
     }
     if (endDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEndDate());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndDate());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -350,23 +411,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.storageinsights.v1.FrequencyOptions)) {
       return super.equals(obj);
     }
-    com.google.cloud.storageinsights.v1.FrequencyOptions other = (com.google.cloud.storageinsights.v1.FrequencyOptions) obj;
+    com.google.cloud.storageinsights.v1.FrequencyOptions other =
+        (com.google.cloud.storageinsights.v1.FrequencyOptions) obj;
 
     if (frequency_ != other.frequency_) return false;
     if (hasStartDate() != other.hasStartDate()) return false;
     if (hasStartDate()) {
-      if (!getStartDate()
-          .equals(other.getStartDate())) return false;
+      if (!getStartDate().equals(other.getStartDate())) return false;
     }
     if (hasEndDate() != other.hasEndDate()) return false;
     if (hasEndDate()) {
-      if (!getEndDate()
-          .equals(other.getEndDate())) return false;
+      if (!getEndDate().equals(other.getEndDate())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -395,98 +455,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.storageinsights.v1.FrequencyOptions parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.storageinsights.v1.FrequencyOptions parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.storageinsights.v1.FrequencyOptions 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.storageinsights.v1.FrequencyOptions parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.storageinsights.v1.FrequencyOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.storageinsights.v1.FrequencyOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * ReportConfig Resource:
    *
@@ -495,33 +560,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.FrequencyOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.FrequencyOptions)
       com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.FrequencyOptions.class, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder.class);
+              com.google.cloud.storageinsights.v1.FrequencyOptions.class,
+              com.google.cloud.storageinsights.v1.FrequencyOptions.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.FrequencyOptions.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -541,9 +605,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor;
     }
 
     @java.lang.Override
@@ -562,8 +626,11 @@ public com.google.cloud.storageinsights.v1.FrequencyOptions build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.FrequencyOptions buildPartial() {
-      com.google.cloud.storageinsights.v1.FrequencyOptions result = new com.google.cloud.storageinsights.v1.FrequencyOptions(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.storageinsights.v1.FrequencyOptions result =
+          new com.google.cloud.storageinsights.v1.FrequencyOptions(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -574,14 +641,10 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.FrequencyOptions
         result.frequency_ = frequency_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startDate_ = startDateBuilder_ == null
-            ? startDate_
-            : startDateBuilder_.build();
+        result.startDate_ = startDateBuilder_ == null ? startDate_ : startDateBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endDate_ = endDateBuilder_ == null
-            ? endDate_
-            : endDateBuilder_.build();
+        result.endDate_ = endDateBuilder_ == null ? endDate_ : endDateBuilder_.build();
       }
     }
 
@@ -589,38 +652,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.FrequencyOptions
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.FrequencyOptions) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.FrequencyOptions)other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.FrequencyOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -628,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.storageinsights.v1.FrequencyOptions other) {
-      if (other == com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance()) return this;
+      if (other == com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance())
+        return this;
       if (other.frequency_ != 0) {
         setFrequencyValue(other.getFrequencyValue());
       }
@@ -664,31 +729,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              frequency_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getStartDateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndDateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                frequency_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getStartDateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndDateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -698,26 +763,34 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int frequency_ = 0;
     /**
+     *
+     *
      * 
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override public int getFrequencyValue() { + @java.lang.Override + public int getFrequencyValue() { return frequency_; } /** + * + * *
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @param value The enum numeric value on the wire for frequency to set. * @return This builder for chaining. */ @@ -728,28 +801,38 @@ public Builder setFrequencyValue(int value) { return this; } /** + * + * *
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @return The frequency. */ @java.lang.Override public com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency getFrequency() { - com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency result = com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.forNumber(frequency_); - return result == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.UNRECOGNIZED : result; + com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency result = + com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.forNumber(frequency_); + return result == null + ? com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency.UNRECOGNIZED + : result; } /** + * + * *
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @param value The frequency to set. * @return This builder for chaining. */ - public Builder setFrequency(com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency value) { + public Builder setFrequency( + com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency value) { if (value == null) { throw new NullPointerException(); } @@ -759,11 +842,14 @@ public Builder setFrequency(com.google.cloud.storageinsights.v1.FrequencyOptions return this; } /** + * + * *
      * Frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @return This builder for chaining. */ public Builder clearFrequency() { @@ -775,26 +861,33 @@ public Builder clearFrequency() { private com.google.type.Date startDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> startDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + startDateBuilder_; /** + * + * *
      * The date from which report generation should start.
      * UTC time zone.
      * 
* * .google.type.Date start_date = 2; + * * @return Whether the startDate field is set. */ public boolean hasStartDate() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The date from which report generation should start.
      * UTC time zone.
      * 
* * .google.type.Date start_date = 2; + * * @return The startDate. */ public com.google.type.Date getStartDate() { @@ -805,6 +898,8 @@ public com.google.type.Date getStartDate() { } } /** + * + * *
      * The date from which report generation should start.
      * UTC time zone.
@@ -826,6 +921,8 @@ public Builder setStartDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -833,8 +930,7 @@ public Builder setStartDate(com.google.type.Date value) {
      *
      * .google.type.Date start_date = 2;
      */
-    public Builder setStartDate(
-        com.google.type.Date.Builder builderForValue) {
+    public Builder setStartDate(com.google.type.Date.Builder builderForValue) {
       if (startDateBuilder_ == null) {
         startDate_ = builderForValue.build();
       } else {
@@ -845,6 +941,8 @@ public Builder setStartDate(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -854,9 +952,9 @@ public Builder setStartDate(
      */
     public Builder mergeStartDate(com.google.type.Date value) {
       if (startDateBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          startDate_ != null &&
-          startDate_ != com.google.type.Date.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && startDate_ != null
+            && startDate_ != com.google.type.Date.getDefaultInstance()) {
           getStartDateBuilder().mergeFrom(value);
         } else {
           startDate_ = value;
@@ -869,6 +967,8 @@ public Builder mergeStartDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -887,6 +987,8 @@ public Builder clearStartDate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -900,6 +1002,8 @@ public com.google.type.Date.Builder getStartDateBuilder() {
       return getStartDateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -911,11 +1015,12 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
       if (startDateBuilder_ != null) {
         return startDateBuilder_.getMessageOrBuilder();
       } else {
-        return startDate_ == null ?
-            com.google.type.Date.getDefaultInstance() : startDate_;
+        return startDate_ == null ? com.google.type.Date.getDefaultInstance() : startDate_;
       }
     }
     /**
+     *
+     *
      * 
      * The date from which report generation should start.
      * UTC time zone.
@@ -924,14 +1029,13 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
      * .google.type.Date start_date = 2;
      */
     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>
         getStartDateFieldBuilder() {
       if (startDateBuilder_ == null) {
-        startDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getStartDate(),
-                getParentForChildren(),
-                isClean());
+        startDateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getStartDate(), getParentForChildren(), isClean());
         startDate_ = null;
       }
       return startDateBuilder_;
@@ -939,26 +1043,33 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
 
     private com.google.type.Date endDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endDateBuilder_;
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+        endDateBuilder_;
     /**
+     *
+     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
      * 
* * .google.type.Date end_date = 3; + * * @return Whether the endDate field is set. */ public boolean hasEndDate() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
      * 
* * .google.type.Date end_date = 3; + * * @return The endDate. */ public com.google.type.Date getEndDate() { @@ -969,6 +1080,8 @@ public com.google.type.Date getEndDate() { } } /** + * + * *
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -990,6 +1103,8 @@ public Builder setEndDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -997,8 +1112,7 @@ public Builder setEndDate(com.google.type.Date value) {
      *
      * .google.type.Date end_date = 3;
      */
-    public Builder setEndDate(
-        com.google.type.Date.Builder builderForValue) {
+    public Builder setEndDate(com.google.type.Date.Builder builderForValue) {
       if (endDateBuilder_ == null) {
         endDate_ = builderForValue.build();
       } else {
@@ -1009,6 +1123,8 @@ public Builder setEndDate(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1018,9 +1134,9 @@ public Builder setEndDate(
      */
     public Builder mergeEndDate(com.google.type.Date value) {
       if (endDateBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          endDate_ != null &&
-          endDate_ != com.google.type.Date.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && endDate_ != null
+            && endDate_ != com.google.type.Date.getDefaultInstance()) {
           getEndDateBuilder().mergeFrom(value);
         } else {
           endDate_ = value;
@@ -1033,6 +1149,8 @@ public Builder mergeEndDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1051,6 +1169,8 @@ public Builder clearEndDate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1064,6 +1184,8 @@ public com.google.type.Date.Builder getEndDateBuilder() {
       return getEndDateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1075,11 +1197,12 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() {
       if (endDateBuilder_ != null) {
         return endDateBuilder_.getMessageOrBuilder();
       } else {
-        return endDate_ == null ?
-            com.google.type.Date.getDefaultInstance() : endDate_;
+        return endDate_ == null ? com.google.type.Date.getDefaultInstance() : endDate_;
       }
     }
     /**
+     *
+     *
      * 
      * The date on which report generation should stop (Inclusive).
      * UTC time zone.
@@ -1088,21 +1211,20 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() {
      * .google.type.Date end_date = 3;
      */
     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>
         getEndDateFieldBuilder() {
       if (endDateBuilder_ == null) {
-        endDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getEndDate(),
-                getParentForChildren(),
-                isClean());
+        endDateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getEndDate(), getParentForChildren(), isClean());
         endDate_ = null;
       }
       return endDateBuilder_;
     }
+
     @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);
     }
 
@@ -1112,12 +1234,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.FrequencyOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.FrequencyOptions)
   private static final com.google.cloud.storageinsights.v1.FrequencyOptions DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.FrequencyOptions();
   }
@@ -1126,27 +1248,27 @@ public static com.google.cloud.storageinsights.v1.FrequencyOptions getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public FrequencyOptions parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public FrequencyOptions parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1161,6 +1283,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.storageinsights.v1.FrequencyOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
similarity index 75%
rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
index 5de98572919c..006758ae52ed 100644
--- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
+++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptionsOrBuilder.java
@@ -1,52 +1,82 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/storageinsights/v1/storageinsights.proto
 
 package com.google.cloud.storageinsights.v1;
 
-public interface FrequencyOptionsOrBuilder extends
+public interface FrequencyOptionsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.FrequencyOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @return The enum numeric value on the wire for frequency. */ int getFrequencyValue(); /** + * + * *
    * Frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1; + * * @return The frequency. */ com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency getFrequency(); /** + * + * *
    * The date from which report generation should start.
    * UTC time zone.
    * 
* * .google.type.Date start_date = 2; + * * @return Whether the startDate field is set. */ boolean hasStartDate(); /** + * + * *
    * The date from which report generation should start.
    * UTC time zone.
    * 
* * .google.type.Date start_date = 2; + * * @return The startDate. */ com.google.type.Date getStartDate(); /** + * + * *
    * The date from which report generation should start.
    * UTC time zone.
@@ -57,26 +87,34 @@ public interface FrequencyOptionsOrBuilder extends
   com.google.type.DateOrBuilder getStartDateOrBuilder();
 
   /**
+   *
+   *
    * 
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
    * 
* * .google.type.Date end_date = 3; + * * @return Whether the endDate field is set. */ boolean hasEndDate(); /** + * + * *
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
    * 
* * .google.type.Date end_date = 3; + * * @return The endDate. */ com.google.type.Date getEndDate(); /** + * + * *
    * The date on which report generation should stop (Inclusive).
    * UTC time zone.
diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
similarity index 61%
rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
index 35af029e5bc6..31f3f60e8954 100644
--- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
+++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequest.java
@@ -1,57 +1,82 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/storageinsights/v1/storageinsights.proto
 
 package com.google.cloud.storageinsights.v1;
 
 /**
+ *
+ *
  * 
  * Message for getting a ReportConfig
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.GetReportConfigRequest} */ -public final class GetReportConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetReportConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.GetReportConfigRequest) GetReportConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetReportConfigRequest.newBuilder() to construct. private GetReportConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetReportConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetReportConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, com.google.cloud.storageinsights.v1.GetReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, + com.google.cloud.storageinsights.v1.GetReportConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 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 @@ -60,29 +85,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 resource
    * 
* - * string name = 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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +130,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_); } @@ -127,15 +154,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.storageinsights.v1.GetReportConfigRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.GetReportConfigRequest other = (com.google.cloud.storageinsights.v1.GetReportConfigRequest) obj; + com.google.cloud.storageinsights.v1.GetReportConfigRequest other = + (com.google.cloud.storageinsights.v1.GetReportConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +182,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.GetReportConfigRequest 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.storageinsights.v1.GetReportConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.GetReportConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.GetReportConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.GetReportConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for getting a ReportConfig
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.GetReportConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.GetReportConfigRequest) com.google.cloud.storageinsights.v1.GetReportConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, com.google.cloud.storageinsights.v1.GetReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, + com.google.cloud.storageinsights.v1.GetReportConfigRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.GetReportConfigRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; } @java.lang.Override @@ -310,8 +342,11 @@ public com.google.cloud.storageinsights.v1.GetReportConfigRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.GetReportConfigRequest buildPartial() { - com.google.cloud.storageinsights.v1.GetReportConfigRequest result = new com.google.cloud.storageinsights.v1.GetReportConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.GetReportConfigRequest result = + new com.google.cloud.storageinsights.v1.GetReportConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +362,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.GetReportConfigRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.GetReportConfigRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.GetReportConfigRequest)other); + return mergeFrom((com.google.cloud.storageinsights.v1.GetReportConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -366,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.GetReportConfigRequest other) { - if (other == com.google.cloud.storageinsights.v1.GetReportConfigRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.storageinsights.v1.GetReportConfigRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -398,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +457,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 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; @@ -442,20 +486,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 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 { @@ -463,28 +510,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string 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() { @@ -494,26 +552,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -523,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.GetReportConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.GetReportConfigRequest) private static final com.google.cloud.storageinsights.v1.GetReportConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.GetReportConfigRequest(); } @@ -537,27 +601,27 @@ public static com.google.cloud.storageinsights.v1.GetReportConfigRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetReportConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetReportConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.GetReportConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java new file mode 100644 index 000000000000..df811f34f232 --- /dev/null +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public interface GetReportConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.GetReportConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * 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/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java similarity index 61% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java index e85e377bd7b3..6d6a201e3f0f 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequest.java @@ -1,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message for getting a ReportDetail
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.GetReportDetailRequest} */ -public final class GetReportDetailRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetReportDetailRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.GetReportDetailRequest) GetReportDetailRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetReportDetailRequest.newBuilder() to construct. private GetReportDetailRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetReportDetailRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetReportDetailRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, com.google.cloud.storageinsights.v1.GetReportDetailRequest.Builder.class); + com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, + com.google.cloud.storageinsights.v1.GetReportDetailRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 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 @@ -60,29 +85,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 resource
    * 
* - * string name = 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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +130,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_); } @@ -127,15 +154,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.storageinsights.v1.GetReportDetailRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.GetReportDetailRequest other = (com.google.cloud.storageinsights.v1.GetReportDetailRequest) obj; + com.google.cloud.storageinsights.v1.GetReportDetailRequest other = + (com.google.cloud.storageinsights.v1.GetReportDetailRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +182,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.GetReportDetailRequest 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.storageinsights.v1.GetReportDetailRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.GetReportDetailRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.GetReportDetailRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.GetReportDetailRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for getting a ReportDetail
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.GetReportDetailRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.GetReportDetailRequest) com.google.cloud.storageinsights.v1.GetReportDetailRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, com.google.cloud.storageinsights.v1.GetReportDetailRequest.Builder.class); + com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, + com.google.cloud.storageinsights.v1.GetReportDetailRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.GetReportDetailRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; } @java.lang.Override @@ -310,8 +342,11 @@ public com.google.cloud.storageinsights.v1.GetReportDetailRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.GetReportDetailRequest buildPartial() { - com.google.cloud.storageinsights.v1.GetReportDetailRequest result = new com.google.cloud.storageinsights.v1.GetReportDetailRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.GetReportDetailRequest result = + new com.google.cloud.storageinsights.v1.GetReportDetailRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +362,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.GetReportDetailRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.GetReportDetailRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.GetReportDetailRequest)other); + return mergeFrom((com.google.cloud.storageinsights.v1.GetReportDetailRequest) other); } else { super.mergeFrom(other); return this; @@ -366,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.GetReportDetailRequest other) { - if (other == com.google.cloud.storageinsights.v1.GetReportDetailRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.storageinsights.v1.GetReportDetailRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -398,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +457,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 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; @@ -442,20 +486,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 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 { @@ -463,28 +510,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string 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() { @@ -494,26 +552,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -523,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.GetReportDetailRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.GetReportDetailRequest) private static final com.google.cloud.storageinsights.v1.GetReportDetailRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.GetReportDetailRequest(); } @@ -537,27 +601,27 @@ public static com.google.cloud.storageinsights.v1.GetReportDetailRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetReportDetailRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetReportDetailRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.GetReportDetailRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java new file mode 100644 index 000000000000..086b30369861 --- /dev/null +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public interface GetReportDetailRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.GetReportDetailRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * 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/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java similarity index 67% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java index 832ac4d4b743..598306d16d7d 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message for requesting list of ReportConfigs
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportConfigsRequest} */ -public final class ListReportConfigsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListReportConfigsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ListReportConfigsRequest) ListReportConfigsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListReportConfigsRequest.newBuilder() to construct. private ListReportConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListReportConfigsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListReportConfigsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListReportConfigsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, com.google.cloud.storageinsights.v1.ListReportConfigsRequest.Builder.class); + com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, + com.google.cloud.storageinsights.v1.ListReportConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListReportConfigsRequest
    * 
* - * 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 @@ -63,29 +88,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. Parent value for ListReportConfigsRequest
    * 
* - * 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 { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,14 +140,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -126,29 +160,29 @@ 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 token identifying a page of results the server should return.
    * 
* * 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 { @@ -157,14 +191,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -173,29 +211,29 @@ 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; } } /** + * + * *
    * Filtering results
    * 
* * 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 { @@ -204,14 +242,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -220,29 +262,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -251,6 +293,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +305,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_); } @@ -292,8 +334,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_); @@ -312,23 +353,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.storageinsights.v1.ListReportConfigsRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ListReportConfigsRequest other = (com.google.cloud.storageinsights.v1.ListReportConfigsRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.storageinsights.v1.ListReportConfigsRequest other = + (com.google.cloud.storageinsights.v1.ListReportConfigsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,131 +393,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest 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.storageinsights.v1.ListReportConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ListReportConfigsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.ListReportConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for requesting list of ReportConfigs
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportConfigsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ListReportConfigsRequest) com.google.cloud.storageinsights.v1.ListReportConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, com.google.cloud.storageinsights.v1.ListReportConfigsRequest.Builder.class); + com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, + com.google.cloud.storageinsights.v1.ListReportConfigsRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ListReportConfigsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,13 +536,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.ListReportConfigsRequest getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ListReportConfigsRequest + getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.ListReportConfigsRequest.getDefaultInstance(); } @@ -515,13 +558,17 @@ public com.google.cloud.storageinsights.v1.ListReportConfigsRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ListReportConfigsRequest buildPartial() { - com.google.cloud.storageinsights.v1.ListReportConfigsRequest result = new com.google.cloud.storageinsights.v1.ListReportConfigsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.ListReportConfigsRequest result = + new com.google.cloud.storageinsights.v1.ListReportConfigsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportConfigsRequest result) { + private void buildPartial0( + com.google.cloud.storageinsights.v1.ListReportConfigsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -544,38 +591,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportConfigs public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.ListReportConfigsRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.ListReportConfigsRequest)other); + return mergeFrom((com.google.cloud.storageinsights.v1.ListReportConfigsRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +631,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportConfigsRequest other) { - if (other == com.google.cloud.storageinsights.v1.ListReportConfigsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.storageinsights.v1.ListReportConfigsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -633,37 +683,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,22 +729,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * 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; @@ -697,20 +758,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * 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 { @@ -718,28 +782,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * 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() { @@ -749,17 +824,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListReportConfigsRequest
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,14 +848,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,12 +866,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,12 +886,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -816,18 +906,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -836,20 +928,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -857,28 +950,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,17 +988,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,18 +1012,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * 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; @@ -928,20 +1034,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * 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 { @@ -949,28 +1056,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -980,17 +1094,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1000,18 +1118,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1020,20 +1140,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1041,28 +1162,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1072,26 +1200,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1101,12 +1233,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ListReportConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ListReportConfigsRequest) - private static final com.google.cloud.storageinsights.v1.ListReportConfigsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.ListReportConfigsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ListReportConfigsRequest(); } @@ -1115,27 +1248,27 @@ public static com.google.cloud.storageinsights.v1.ListReportConfigsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,6 +1283,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ListReportConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java index 13a73e47c552..11c5f5cc4478 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsRequestOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ListReportConfigsRequestOrBuilder extends +public interface ListReportConfigsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ListReportConfigsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListReportConfigsRequest
    * 
* - * 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. Parent value for ListReportConfigsRequest
    * 
* - * 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(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java similarity index 72% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java index 2ae95437cb74..c7ab8a2e4b6b 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message for response to listing ReportConfigs
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportConfigsResponse} */ -public final class ListReportConfigsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListReportConfigsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ListReportConfigsResponse) ListReportConfigsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListReportConfigsResponse.newBuilder() to construct. private ListReportConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListReportConfigsResponse() { reportConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListReportConfigsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, com.google.cloud.storageinsights.v1.ListReportConfigsResponse.Builder.class); + com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, + com.google.cloud.storageinsights.v1.ListReportConfigsResponse.Builder.class); } public static final int REPORT_CONFIGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List reportConfigs_; /** + * + * *
    * The list of ReportConfig
    * 
@@ -61,6 +82,8 @@ public java.util.List getRepor return reportConfigs_; } /** + * + * *
    * The list of ReportConfig
    * 
@@ -68,11 +91,13 @@ public java.util.List getRepor * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReportConfigsOrBuilderList() { return reportConfigs_; } /** + * + * *
    * The list of ReportConfig
    * 
@@ -84,6 +109,8 @@ public int getReportConfigsCount() { return reportConfigs_.size(); } /** + * + * *
    * The list of ReportConfig
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.storageinsights.v1.ReportConfig getReportConfigs(int ind return reportConfigs_.get(index); } /** + * + * *
    * The list of ReportConfig
    * 
@@ -108,14 +137,18 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +157,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 token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +188,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +236,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,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 < reportConfigs_.size(); i++) { output.writeMessage(1, reportConfigs_.get(i)); } @@ -240,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < reportConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, reportConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reportConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,19 +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.storageinsights.v1.ListReportConfigsResponse)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ListReportConfigsResponse other = (com.google.cloud.storageinsights.v1.ListReportConfigsResponse) obj; + com.google.cloud.storageinsights.v1.ListReportConfigsResponse other = + (com.google.cloud.storageinsights.v1.ListReportConfigsResponse) obj; - if (!getReportConfigsList() - .equals(other.getReportConfigsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getReportConfigsList().equals(other.getReportConfigsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +343,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse 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.storageinsights.v1.ListReportConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ListReportConfigsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.ListReportConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for response to listing ReportConfigs
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportConfigsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ListReportConfigsResponse) com.google.cloud.storageinsights.v1.ListReportConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, com.google.cloud.storageinsights.v1.ListReportConfigsResponse.Builder.class); + com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, + com.google.cloud.storageinsights.v1.ListReportConfigsResponse.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ListReportConfigsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,19 +485,19 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.ListReportConfigsResponse getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ListReportConfigsResponse + getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.ListReportConfigsResponse.getDefaultInstance(); } @@ -466,14 +512,18 @@ public com.google.cloud.storageinsights.v1.ListReportConfigsResponse build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ListReportConfigsResponse buildPartial() { - com.google.cloud.storageinsights.v1.ListReportConfigsResponse result = new com.google.cloud.storageinsights.v1.ListReportConfigsResponse(this); + com.google.cloud.storageinsights.v1.ListReportConfigsResponse result = + new com.google.cloud.storageinsights.v1.ListReportConfigsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.storageinsights.v1.ListReportConfigsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.storageinsights.v1.ListReportConfigsResponse result) { if (reportConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { reportConfigs_ = java.util.Collections.unmodifiableList(reportConfigs_); @@ -485,7 +535,8 @@ private void buildPartialRepeatedFields(com.google.cloud.storageinsights.v1.List } } - private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportConfigsResponse result) { + private void buildPartial0( + com.google.cloud.storageinsights.v1.ListReportConfigsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -500,38 +551,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportConfigs public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.ListReportConfigsResponse) { - return mergeFrom((com.google.cloud.storageinsights.v1.ListReportConfigsResponse)other); + return mergeFrom((com.google.cloud.storageinsights.v1.ListReportConfigsResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +591,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportConfigsResponse other) { - if (other == com.google.cloud.storageinsights.v1.ListReportConfigsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.storageinsights.v1.ListReportConfigsResponse.getDefaultInstance()) + return this; if (reportConfigsBuilder_ == null) { if (!other.reportConfigs_.isEmpty()) { if (reportConfigs_.isEmpty()) { @@ -558,9 +612,10 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportConfigsRe reportConfigsBuilder_ = null; reportConfigs_ = other.reportConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - reportConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReportConfigsFieldBuilder() : null; + reportConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReportConfigsFieldBuilder() + : null; } else { reportConfigsBuilder_.addAllMessages(other.reportConfigs_); } @@ -607,36 +662,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.storageinsights.v1.ReportConfig m = - input.readMessage( - com.google.cloud.storageinsights.v1.ReportConfig.parser(), - extensionRegistry); - if (reportConfigsBuilder_ == null) { - ensureReportConfigsIsMutable(); - reportConfigs_.add(m); - } else { - reportConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.storageinsights.v1.ReportConfig m = + input.readMessage( + com.google.cloud.storageinsights.v1.ReportConfig.parser(), + extensionRegistry); + if (reportConfigsBuilder_ == null) { + ensureReportConfigsIsMutable(); + reportConfigs_.add(m); + } else { + reportConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +705,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List reportConfigs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureReportConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - reportConfigs_ = new java.util.ArrayList(reportConfigs_); + reportConfigs_ = + new java.util.ArrayList( + reportConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> reportConfigsBuilder_; + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + reportConfigsBuilder_; /** + * + * *
      * The list of ReportConfig
      * 
@@ -675,6 +743,8 @@ public java.util.List getRepor } } /** + * + * *
      * The list of ReportConfig
      * 
@@ -689,6 +759,8 @@ public int getReportConfigsCount() { } } /** + * + * *
      * The list of ReportConfig
      * 
@@ -703,6 +775,8 @@ public com.google.cloud.storageinsights.v1.ReportConfig getReportConfigs(int ind } } /** + * + * *
      * The list of ReportConfig
      * 
@@ -724,6 +798,8 @@ public Builder setReportConfigs( return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -742,6 +818,8 @@ public Builder setReportConfigs( return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -762,6 +840,8 @@ public Builder addReportConfigs(com.google.cloud.storageinsights.v1.ReportConfig return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -783,6 +863,8 @@ public Builder addReportConfigs( return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -801,6 +883,8 @@ public Builder addReportConfigs( return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -819,6 +903,8 @@ public Builder addReportConfigs( return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -829,8 +915,7 @@ public Builder addAllReportConfigs( java.lang.Iterable values) { if (reportConfigsBuilder_ == null) { ensureReportConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, reportConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reportConfigs_); onChanged(); } else { reportConfigsBuilder_.addAllMessages(values); @@ -838,6 +923,8 @@ public Builder addAllReportConfigs( return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -855,6 +942,8 @@ public Builder clearReportConfigs() { return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -872,6 +961,8 @@ public Builder removeReportConfigs(int index) { return this; } /** + * + * *
      * The list of ReportConfig
      * 
@@ -883,6 +974,8 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigs return getReportConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of ReportConfig
      * 
@@ -892,19 +985,22 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigs public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigsOrBuilder( int index) { if (reportConfigsBuilder_ == null) { - return reportConfigs_.get(index); } else { + return reportConfigs_.get(index); + } else { return reportConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of ReportConfig
      * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - public java.util.List - getReportConfigsOrBuilderList() { + public java.util.List + getReportConfigsOrBuilderList() { if (reportConfigsBuilder_ != null) { return reportConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +1008,8 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig } } /** + * + * *
      * The list of ReportConfig
      * 
@@ -919,10 +1017,12 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ public com.google.cloud.storageinsights.v1.ReportConfig.Builder addReportConfigsBuilder() { - return getReportConfigsFieldBuilder().addBuilder( - com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()); + return getReportConfigsFieldBuilder() + .addBuilder(com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()); } /** + * + * *
      * The list of ReportConfig
      * 
@@ -931,26 +1031,34 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder addReportConfigs */ public com.google.cloud.storageinsights.v1.ReportConfig.Builder addReportConfigsBuilder( int index) { - return getReportConfigsFieldBuilder().addBuilder( - index, com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()); + return getReportConfigsFieldBuilder() + .addBuilder(index, com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()); } /** + * + * *
      * The list of ReportConfig
      * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - public java.util.List - getReportConfigsBuilderList() { + public java.util.List + getReportConfigsBuilderList() { return getReportConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> getReportConfigsFieldBuilder() { if (reportConfigsBuilder_ == null) { - reportConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( + reportConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( reportConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -962,18 +1070,20 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder addReportConfigs private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1092,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1003,28 +1114,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1152,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1176,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1184,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1228,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1266,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1288,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1347,9 @@ public Builder addUnreachableBytes( 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); } @@ -1210,12 +1359,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ListReportConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ListReportConfigsResponse) - private static final com.google.cloud.storageinsights.v1.ListReportConfigsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.ListReportConfigsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ListReportConfigsResponse(); } @@ -1224,27 +1374,27 @@ public static com.google.cloud.storageinsights.v1.ListReportConfigsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,6 +1409,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.ListReportConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java index b81e1f6ae601..ef8c007fe9bc 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportConfigsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ListReportConfigsResponseOrBuilder extends +public interface ListReportConfigsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ListReportConfigsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of ReportConfig
    * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - java.util.List - getReportConfigsList(); + java.util.List getReportConfigsList(); /** + * + * *
    * The list of ReportConfig
    * 
@@ -25,6 +44,8 @@ public interface ListReportConfigsResponseOrBuilder extends */ com.google.cloud.storageinsights.v1.ReportConfig getReportConfigs(int index); /** + * + * *
    * The list of ReportConfig
    * 
@@ -33,82 +54,100 @@ public interface ListReportConfigsResponseOrBuilder extends */ int getReportConfigsCount(); /** + * + * *
    * The list of ReportConfig
    * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - java.util.List + java.util.List getReportConfigsOrBuilderList(); /** + * + * *
    * The list of ReportConfig
    * 
* * repeated .google.cloud.storageinsights.v1.ReportConfig report_configs = 1; */ - com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigsOrBuilder( - int index); + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java similarity index 67% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java index ac8ed3f22fb5..86c851092db5 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message for requesting list of ReportDetails
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportDetailsRequest} */ -public final class ListReportDetailsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListReportDetailsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ListReportDetailsRequest) ListReportDetailsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListReportDetailsRequest.newBuilder() to construct. private ListReportDetailsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListReportDetailsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListReportDetailsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListReportDetailsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, com.google.cloud.storageinsights.v1.ListReportDetailsRequest.Builder.class); + com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, + com.google.cloud.storageinsights.v1.ListReportDetailsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListReportDetailsRequest
    * 
* - * 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 @@ -63,29 +88,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. Parent value for ListReportDetailsRequest
    * 
* - * 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 { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,14 +140,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -126,29 +160,29 @@ 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 token identifying a page of results the server should return.
    * 
* * 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 { @@ -157,14 +191,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -173,29 +211,29 @@ 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; } } /** + * + * *
    * Filtering results
    * 
* * 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 { @@ -204,14 +242,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -220,29 +262,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -251,6 +293,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +305,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_); } @@ -292,8 +334,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_); @@ -312,23 +353,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.storageinsights.v1.ListReportDetailsRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ListReportDetailsRequest other = (com.google.cloud.storageinsights.v1.ListReportDetailsRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.storageinsights.v1.ListReportDetailsRequest other = + (com.google.cloud.storageinsights.v1.ListReportDetailsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,131 +393,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest 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.storageinsights.v1.ListReportDetailsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ListReportDetailsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.ListReportDetailsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for requesting list of ReportDetails
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportDetailsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ListReportDetailsRequest) com.google.cloud.storageinsights.v1.ListReportDetailsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, com.google.cloud.storageinsights.v1.ListReportDetailsRequest.Builder.class); + com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, + com.google.cloud.storageinsights.v1.ListReportDetailsRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ListReportDetailsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,13 +536,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.ListReportDetailsRequest getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ListReportDetailsRequest + getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.ListReportDetailsRequest.getDefaultInstance(); } @@ -515,13 +558,17 @@ public com.google.cloud.storageinsights.v1.ListReportDetailsRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ListReportDetailsRequest buildPartial() { - com.google.cloud.storageinsights.v1.ListReportDetailsRequest result = new com.google.cloud.storageinsights.v1.ListReportDetailsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.ListReportDetailsRequest result = + new com.google.cloud.storageinsights.v1.ListReportDetailsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportDetailsRequest result) { + private void buildPartial0( + com.google.cloud.storageinsights.v1.ListReportDetailsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -544,38 +591,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportDetails public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.ListReportDetailsRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.ListReportDetailsRequest)other); + return mergeFrom((com.google.cloud.storageinsights.v1.ListReportDetailsRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +631,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportDetailsRequest other) { - if (other == com.google.cloud.storageinsights.v1.ListReportDetailsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.storageinsights.v1.ListReportDetailsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -633,37 +683,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,22 +729,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * 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; @@ -697,20 +758,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * 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 { @@ -718,28 +782,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * 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() { @@ -749,17 +824,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListReportDetailsRequest
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,14 +848,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,12 +866,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,12 +886,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -816,18 +906,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -836,20 +928,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -857,28 +950,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,17 +988,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,18 +1012,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * 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; @@ -928,20 +1034,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * 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 { @@ -949,28 +1056,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -980,17 +1094,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1000,18 +1118,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1020,20 +1140,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1041,28 +1162,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1072,26 +1200,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1101,12 +1233,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ListReportDetailsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ListReportDetailsRequest) - private static final com.google.cloud.storageinsights.v1.ListReportDetailsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.ListReportDetailsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ListReportDetailsRequest(); } @@ -1115,27 +1248,27 @@ public static com.google.cloud.storageinsights.v1.ListReportDetailsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportDetailsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportDetailsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,6 +1283,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ListReportDetailsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java index 224cad791672..ebf94e4d970f 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsRequestOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ListReportDetailsRequestOrBuilder extends +public interface ListReportDetailsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ListReportDetailsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListReportDetailsRequest
    * 
* - * 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. Parent value for ListReportDetailsRequest
    * 
* - * 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(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java similarity index 72% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java index ba3d068d810c..b4cba385636a 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message for response to listing ReportDetails
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportDetailsResponse} */ -public final class ListReportDetailsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListReportDetailsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ListReportDetailsResponse) ListReportDetailsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListReportDetailsResponse.newBuilder() to construct. private ListReportDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListReportDetailsResponse() { reportDetails_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListReportDetailsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, com.google.cloud.storageinsights.v1.ListReportDetailsResponse.Builder.class); + com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, + com.google.cloud.storageinsights.v1.ListReportDetailsResponse.Builder.class); } public static final int REPORT_DETAILS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List reportDetails_; /** + * + * *
    * The list of ReportDetail
    * 
@@ -61,6 +82,8 @@ public java.util.List getRepor return reportDetails_; } /** + * + * *
    * The list of ReportDetail
    * 
@@ -68,11 +91,13 @@ public java.util.List getRepor * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReportDetailsOrBuilderList() { return reportDetails_; } /** + * + * *
    * The list of ReportDetail
    * 
@@ -84,6 +109,8 @@ public int getReportDetailsCount() { return reportDetails_.size(); } /** + * + * *
    * The list of ReportDetail
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.storageinsights.v1.ReportDetail getReportDetails(int ind return reportDetails_.get(index); } /** + * + * *
    * The list of ReportDetail
    * 
@@ -108,14 +137,18 @@ public com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetail } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +157,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 token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +188,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +236,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,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 < reportDetails_.size(); i++) { output.writeMessage(1, reportDetails_.get(i)); } @@ -240,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < reportDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, reportDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reportDetails_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,19 +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.storageinsights.v1.ListReportDetailsResponse)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ListReportDetailsResponse other = (com.google.cloud.storageinsights.v1.ListReportDetailsResponse) obj; + com.google.cloud.storageinsights.v1.ListReportDetailsResponse other = + (com.google.cloud.storageinsights.v1.ListReportDetailsResponse) obj; - if (!getReportDetailsList() - .equals(other.getReportDetailsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getReportDetailsList().equals(other.getReportDetailsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +343,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse 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.storageinsights.v1.ListReportDetailsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ListReportDetailsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.ListReportDetailsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for response to listing ReportDetails
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ListReportDetailsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ListReportDetailsResponse) com.google.cloud.storageinsights.v1.ListReportDetailsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, com.google.cloud.storageinsights.v1.ListReportDetailsResponse.Builder.class); + com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, + com.google.cloud.storageinsights.v1.ListReportDetailsResponse.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ListReportDetailsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,19 +485,19 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.ListReportDetailsResponse getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ListReportDetailsResponse + getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.ListReportDetailsResponse.getDefaultInstance(); } @@ -466,14 +512,18 @@ public com.google.cloud.storageinsights.v1.ListReportDetailsResponse build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ListReportDetailsResponse buildPartial() { - com.google.cloud.storageinsights.v1.ListReportDetailsResponse result = new com.google.cloud.storageinsights.v1.ListReportDetailsResponse(this); + com.google.cloud.storageinsights.v1.ListReportDetailsResponse result = + new com.google.cloud.storageinsights.v1.ListReportDetailsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.storageinsights.v1.ListReportDetailsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.storageinsights.v1.ListReportDetailsResponse result) { if (reportDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { reportDetails_ = java.util.Collections.unmodifiableList(reportDetails_); @@ -485,7 +535,8 @@ private void buildPartialRepeatedFields(com.google.cloud.storageinsights.v1.List } } - private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportDetailsResponse result) { + private void buildPartial0( + com.google.cloud.storageinsights.v1.ListReportDetailsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -500,38 +551,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ListReportDetails public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.ListReportDetailsResponse) { - return mergeFrom((com.google.cloud.storageinsights.v1.ListReportDetailsResponse)other); + return mergeFrom((com.google.cloud.storageinsights.v1.ListReportDetailsResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +591,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportDetailsResponse other) { - if (other == com.google.cloud.storageinsights.v1.ListReportDetailsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.storageinsights.v1.ListReportDetailsResponse.getDefaultInstance()) + return this; if (reportDetailsBuilder_ == null) { if (!other.reportDetails_.isEmpty()) { if (reportDetails_.isEmpty()) { @@ -558,9 +612,10 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ListReportDetailsRe reportDetailsBuilder_ = null; reportDetails_ = other.reportDetails_; bitField0_ = (bitField0_ & ~0x00000001); - reportDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReportDetailsFieldBuilder() : null; + reportDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReportDetailsFieldBuilder() + : null; } else { reportDetailsBuilder_.addAllMessages(other.reportDetails_); } @@ -607,36 +662,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.storageinsights.v1.ReportDetail m = - input.readMessage( - com.google.cloud.storageinsights.v1.ReportDetail.parser(), - extensionRegistry); - if (reportDetailsBuilder_ == null) { - ensureReportDetailsIsMutable(); - reportDetails_.add(m); - } else { - reportDetailsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.storageinsights.v1.ReportDetail m = + input.readMessage( + com.google.cloud.storageinsights.v1.ReportDetail.parser(), + extensionRegistry); + if (reportDetailsBuilder_ == null) { + ensureReportDetailsIsMutable(); + reportDetails_.add(m); + } else { + reportDetailsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +705,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List reportDetails_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureReportDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - reportDetails_ = new java.util.ArrayList(reportDetails_); + reportDetails_ = + new java.util.ArrayList( + reportDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail, com.google.cloud.storageinsights.v1.ReportDetail.Builder, com.google.cloud.storageinsights.v1.ReportDetailOrBuilder> reportDetailsBuilder_; + com.google.cloud.storageinsights.v1.ReportDetail, + com.google.cloud.storageinsights.v1.ReportDetail.Builder, + com.google.cloud.storageinsights.v1.ReportDetailOrBuilder> + reportDetailsBuilder_; /** + * + * *
      * The list of ReportDetail
      * 
@@ -675,6 +743,8 @@ public java.util.List getRepor } } /** + * + * *
      * The list of ReportDetail
      * 
@@ -689,6 +759,8 @@ public int getReportDetailsCount() { } } /** + * + * *
      * The list of ReportDetail
      * 
@@ -703,6 +775,8 @@ public com.google.cloud.storageinsights.v1.ReportDetail getReportDetails(int ind } } /** + * + * *
      * The list of ReportDetail
      * 
@@ -724,6 +798,8 @@ public Builder setReportDetails( return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -742,6 +818,8 @@ public Builder setReportDetails( return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -762,6 +840,8 @@ public Builder addReportDetails(com.google.cloud.storageinsights.v1.ReportDetail return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -783,6 +863,8 @@ public Builder addReportDetails( return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -801,6 +883,8 @@ public Builder addReportDetails( return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -819,6 +903,8 @@ public Builder addReportDetails( return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -829,8 +915,7 @@ public Builder addAllReportDetails( java.lang.Iterable values) { if (reportDetailsBuilder_ == null) { ensureReportDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, reportDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reportDetails_); onChanged(); } else { reportDetailsBuilder_.addAllMessages(values); @@ -838,6 +923,8 @@ public Builder addAllReportDetails( return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -855,6 +942,8 @@ public Builder clearReportDetails() { return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -872,6 +961,8 @@ public Builder removeReportDetails(int index) { return this; } /** + * + * *
      * The list of ReportDetail
      * 
@@ -883,6 +974,8 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Builder getReportDetails return getReportDetailsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of ReportDetail
      * 
@@ -892,19 +985,22 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Builder getReportDetails public com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetailsOrBuilder( int index) { if (reportDetailsBuilder_ == null) { - return reportDetails_.get(index); } else { + return reportDetails_.get(index); + } else { return reportDetailsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of ReportDetail
      * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - public java.util.List - getReportDetailsOrBuilderList() { + public java.util.List + getReportDetailsOrBuilderList() { if (reportDetailsBuilder_ != null) { return reportDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +1008,8 @@ public com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetail } } /** + * + * *
      * The list of ReportDetail
      * 
@@ -919,10 +1017,12 @@ public com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetail * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ public com.google.cloud.storageinsights.v1.ReportDetail.Builder addReportDetailsBuilder() { - return getReportDetailsFieldBuilder().addBuilder( - com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()); + return getReportDetailsFieldBuilder() + .addBuilder(com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()); } /** + * + * *
      * The list of ReportDetail
      * 
@@ -931,26 +1031,34 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Builder addReportDetails */ public com.google.cloud.storageinsights.v1.ReportDetail.Builder addReportDetailsBuilder( int index) { - return getReportDetailsFieldBuilder().addBuilder( - index, com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()); + return getReportDetailsFieldBuilder() + .addBuilder(index, com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()); } /** + * + * *
      * The list of ReportDetail
      * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - public java.util.List - getReportDetailsBuilderList() { + public java.util.List + getReportDetailsBuilderList() { return getReportDetailsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail, com.google.cloud.storageinsights.v1.ReportDetail.Builder, com.google.cloud.storageinsights.v1.ReportDetailOrBuilder> + com.google.cloud.storageinsights.v1.ReportDetail, + com.google.cloud.storageinsights.v1.ReportDetail.Builder, + com.google.cloud.storageinsights.v1.ReportDetailOrBuilder> getReportDetailsFieldBuilder() { if (reportDetailsBuilder_ == null) { - reportDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail, com.google.cloud.storageinsights.v1.ReportDetail.Builder, com.google.cloud.storageinsights.v1.ReportDetailOrBuilder>( + reportDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportDetail, + com.google.cloud.storageinsights.v1.ReportDetail.Builder, + com.google.cloud.storageinsights.v1.ReportDetailOrBuilder>( reportDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -962,18 +1070,20 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Builder addReportDetails private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1092,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1003,28 +1114,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1152,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1176,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1184,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1228,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1266,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1288,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1347,9 @@ public Builder addUnreachableBytes( 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); } @@ -1210,12 +1359,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ListReportDetailsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ListReportDetailsResponse) - private static final com.google.cloud.storageinsights.v1.ListReportDetailsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.ListReportDetailsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ListReportDetailsResponse(); } @@ -1224,27 +1374,27 @@ public static com.google.cloud.storageinsights.v1.ListReportDetailsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportDetailsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportDetailsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,6 +1409,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.ListReportDetailsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java index 9ea2b677877d..3912a383fca3 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ListReportDetailsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ListReportDetailsResponseOrBuilder extends +public interface ListReportDetailsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ListReportDetailsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of ReportDetail
    * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - java.util.List - getReportDetailsList(); + java.util.List getReportDetailsList(); /** + * + * *
    * The list of ReportDetail
    * 
@@ -25,6 +44,8 @@ public interface ListReportDetailsResponseOrBuilder extends */ com.google.cloud.storageinsights.v1.ReportDetail getReportDetails(int index); /** + * + * *
    * The list of ReportDetail
    * 
@@ -33,82 +54,100 @@ public interface ListReportDetailsResponseOrBuilder extends */ int getReportDetailsCount(); /** + * + * *
    * The list of ReportDetail
    * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - java.util.List + java.util.List getReportDetailsOrBuilderList(); /** + * + * *
    * The list of ReportDetail
    * 
* * repeated .google.cloud.storageinsights.v1.ReportDetail report_details = 1; */ - com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetailsOrBuilder( - int index); + com.google.cloud.storageinsights.v1.ReportDetailOrBuilder getReportDetailsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/LocationName.java diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java similarity index 64% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java index 4b5046cbc9f0..13f62511915e 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Report specification for exporting object metadata.
  * Next ID: 4
@@ -11,49 +28,54 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.ObjectMetadataReportOptions}
  */
-public final class ObjectMetadataReportOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ObjectMetadataReportOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ObjectMetadataReportOptions)
     ObjectMetadataReportOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ObjectMetadataReportOptions.newBuilder() to construct.
   private ObjectMetadataReportOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ObjectMetadataReportOptions() {
-    metadataFields_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    metadataFields_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ObjectMetadataReportOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.class, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder.class);
+            com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.class,
+            com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder.class);
   }
 
   private int filterCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object filter_;
+
   public enum FilterCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STORAGE_FILTERS(2),
     FILTER_NOT_SET(0);
     private final int value;
+
     private FilterCase(int value) {
       this.value = value;
     }
@@ -69,31 +91,37 @@ public static FilterCase valueOf(int value) {
 
     public static FilterCase forNumber(int value) {
       switch (value) {
-        case 2: return STORAGE_FILTERS;
-        case 0: return FILTER_NOT_SET;
-        default: return null;
+        case 2:
+          return STORAGE_FILTERS;
+        case 0:
+          return FILTER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public FilterCase
-  getFilterCase() {
-    return FilterCase.forNumber(
-        filterCase_);
+  public FilterCase getFilterCase() {
+    return FilterCase.forNumber(filterCase_);
   }
 
   private int destinationOptionsCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object destinationOptions_;
+
   public enum DestinationOptionsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STORAGE_DESTINATION_OPTIONS(3),
     DESTINATIONOPTIONS_NOT_SET(0);
     private final int value;
+
     private DestinationOptionsCase(int value) {
       this.value = value;
     }
@@ -109,55 +137,66 @@ public static DestinationOptionsCase valueOf(int value) {
 
     public static DestinationOptionsCase forNumber(int value) {
       switch (value) {
-        case 3: return STORAGE_DESTINATION_OPTIONS;
-        case 0: return DESTINATIONOPTIONS_NOT_SET;
-        default: return null;
+        case 3:
+          return STORAGE_DESTINATION_OPTIONS;
+        case 0:
+          return DESTINATIONOPTIONS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationOptionsCase
-  getDestinationOptionsCase() {
-    return DestinationOptionsCase.forNumber(
-        destinationOptionsCase_);
+  public DestinationOptionsCase getDestinationOptionsCase() {
+    return DestinationOptionsCase.forNumber(destinationOptionsCase_);
   }
 
   public static final int METADATA_FIELDS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList metadataFields_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; + * * @return A list containing the metadataFields. */ - public com.google.protobuf.ProtocolStringList - getMetadataFieldsList() { + public com.google.protobuf.ProtocolStringList getMetadataFieldsList() { return metadataFields_; } /** + * + * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; + * * @return The count of metadataFields. */ public int getMetadataFieldsCount() { return metadataFields_.size(); } /** + * + * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; + * * @param index The index of the element to return. * @return The metadataFields at the given index. */ @@ -165,26 +204,31 @@ public java.lang.String getMetadataFields(int index) { return metadataFields_.get(index); } /** + * + * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the metadataFields at the given index. */ - public com.google.protobuf.ByteString - getMetadataFieldsBytes(int index) { + public com.google.protobuf.ByteString getMetadataFieldsBytes(int index) { return metadataFields_.getByteString(index); } public static final int STORAGE_FILTERS_FIELD_NUMBER = 2; /** + * + * *
    * Cloud Storage as the storage system.
    * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; + * * @return Whether the storageFilters field is set. */ @java.lang.Override @@ -192,21 +236,26 @@ public boolean hasStorageFilters() { return filterCase_ == 2; } /** + * + * *
    * Cloud Storage as the storage system.
    * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; + * * @return The storageFilters. */ @java.lang.Override public com.google.cloud.storageinsights.v1.CloudStorageFilters getStorageFilters() { if (filterCase_ == 2) { - return (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_; + return (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_; } return com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance(); } /** + * + * *
    * Cloud Storage as the storage system.
    * 
@@ -214,20 +263,26 @@ public com.google.cloud.storageinsights.v1.CloudStorageFilters getStorageFilters * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStorageFiltersOrBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder + getStorageFiltersOrBuilder() { if (filterCase_ == 2) { - return (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_; + return (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_; } return com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance(); } public static final int STORAGE_DESTINATION_OPTIONS_FIELD_NUMBER = 3; /** + * + * *
    * Cloud Storage as the storage system.
    * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * * @return Whether the storageDestinationOptions field is set. */ @java.lang.Override @@ -235,36 +290,50 @@ public boolean hasStorageDestinationOptions() { return destinationOptionsCase_ == 3; } /** + * + * *
    * Cloud Storage as the storage system.
    * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * * @return The storageDestinationOptions. */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getStorageDestinationOptions() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + getStorageDestinationOptions() { if (destinationOptionsCase_ == 3) { - return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_; + return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) + destinationOptions_; } return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); } /** + * + * *
    * Cloud Storage as the storage system.
    * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder getStorageDestinationOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder + getStorageDestinationOptionsOrBuilder() { if (destinationOptionsCase_ == 3) { - return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_; + return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) + destinationOptions_; } return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +345,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 < metadataFields_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metadataFields_.getRaw(i)); } @@ -285,7 +353,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_); } if (destinationOptionsCase_ == 3) { - output.writeMessage(3, (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_); + output.writeMessage( + 3, + (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_); } getUnknownFields().writeTo(output); } @@ -305,12 +375,16 @@ public int getSerializedSize() { size += 1 * getMetadataFieldsList().size(); } if (filterCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_); } if (destinationOptionsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) + destinationOptions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,20 +394,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.storageinsights.v1.ObjectMetadataReportOptions)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions other = (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) obj; + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions other = + (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) obj; - if (!getMetadataFieldsList() - .equals(other.getMetadataFieldsList())) return false; + if (!getMetadataFieldsList().equals(other.getMetadataFieldsList())) return false; if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 2: - if (!getStorageFilters() - .equals(other.getStorageFilters())) return false; + if (!getStorageFilters().equals(other.getStorageFilters())) return false; break; case 0: default: @@ -341,8 +414,8 @@ public boolean equals(final java.lang.Object obj) { if (!getDestinationOptionsCase().equals(other.getDestinationOptionsCase())) return false; switch (destinationOptionsCase_) { case 3: - if (!getStorageDestinationOptions() - .equals(other.getStorageDestinationOptions())) return false; + if (!getStorageDestinationOptions().equals(other.getStorageDestinationOptions())) + return false; break; case 0: default: @@ -384,98 +457,104 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions 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.storageinsights.v1.ObjectMetadataReportOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Report specification for exporting object metadata.
    * Next ID: 4
@@ -483,39 +562,37 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.ObjectMetadataReportOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ObjectMetadataReportOptions)
       com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.class, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder.class);
+              com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.class,
+              com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      metadataFields_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      metadataFields_ = com.google.protobuf.LazyStringArrayList.emptyList();
       if (storageFiltersBuilder_ != null) {
         storageFiltersBuilder_.clear();
       }
@@ -530,13 +607,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getDefaultInstanceForType() {
+    public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions
+        getDefaultInstanceForType() {
       return com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance();
     }
 
@@ -551,14 +629,18 @@ public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions buildPartial() {
-      com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result = new com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result =
+          new com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result) {
+    private void buildPartial0(
+        com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         metadataFields_.makeImmutable();
@@ -566,17 +648,16 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ObjectMetadataRep
       }
     }
 
-    private void buildPartialOneofs(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result) {
+    private void buildPartialOneofs(
+        com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions result) {
       result.filterCase_ = filterCase_;
       result.filter_ = this.filter_;
-      if (filterCase_ == 2 &&
-          storageFiltersBuilder_ != null) {
+      if (filterCase_ == 2 && storageFiltersBuilder_ != null) {
         result.filter_ = storageFiltersBuilder_.build();
       }
       result.destinationOptionsCase_ = destinationOptionsCase_;
       result.destinationOptions_ = this.destinationOptions_;
-      if (destinationOptionsCase_ == 3 &&
-          storageDestinationOptionsBuilder_ != null) {
+      if (destinationOptionsCase_ == 3 && storageDestinationOptionsBuilder_ != null) {
         result.destinationOptions_ = storageDestinationOptionsBuilder_.build();
       }
     }
@@ -585,46 +666,50 @@ private void buildPartialOneofs(com.google.cloud.storageinsights.v1.ObjectMetada
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.ObjectMetadataReportOptions) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions)other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions other) {
-      if (other == com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions other) {
+      if (other
+          == com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance())
+        return this;
       if (!other.metadataFields_.isEmpty()) {
         if (metadataFields_.isEmpty()) {
           metadataFields_ = other.metadataFields_;
@@ -636,22 +721,26 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ObjectMetadataRepor
         onChanged();
       }
       switch (other.getFilterCase()) {
-        case STORAGE_FILTERS: {
-          mergeStorageFilters(other.getStorageFilters());
-          break;
-        }
-        case FILTER_NOT_SET: {
-          break;
-        }
+        case STORAGE_FILTERS:
+          {
+            mergeStorageFilters(other.getStorageFilters());
+            break;
+          }
+        case FILTER_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getDestinationOptionsCase()) {
-        case STORAGE_DESTINATION_OPTIONS: {
-          mergeStorageDestinationOptions(other.getStorageDestinationOptions());
-          break;
-        }
-        case DESTINATIONOPTIONS_NOT_SET: {
-          break;
-        }
+        case STORAGE_DESTINATION_OPTIONS:
+          {
+            mergeStorageDestinationOptions(other.getStorageDestinationOptions());
+            break;
+          }
+        case DESTINATIONOPTIONS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -679,32 +768,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureMetadataFieldsIsMutable();
-              metadataFields_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStorageFiltersFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              filterCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStorageDestinationOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              destinationOptionsCase_ = 3;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureMetadataFieldsIsMutable();
+                metadataFields_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStorageFiltersFieldBuilder().getBuilder(), extensionRegistry);
+                filterCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getStorageDestinationOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                destinationOptionsCase_ = 3;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -714,12 +804,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int filterCase_ = 0;
     private java.lang.Object filter_;
-    public FilterCase
-        getFilterCase() {
-      return FilterCase.forNumber(
-          filterCase_);
+
+    public FilterCase getFilterCase() {
+      return FilterCase.forNumber(filterCase_);
     }
 
     public Builder clearFilter() {
@@ -731,10 +821,9 @@ public Builder clearFilter() {
 
     private int destinationOptionsCase_ = 0;
     private java.lang.Object destinationOptions_;
-    public DestinationOptionsCase
-        getDestinationOptionsCase() {
-      return DestinationOptionsCase.forNumber(
-          destinationOptionsCase_);
+
+    public DestinationOptionsCase getDestinationOptionsCase() {
+      return DestinationOptionsCase.forNumber(destinationOptionsCase_);
     }
 
     public Builder clearDestinationOptions() {
@@ -748,6 +837,7 @@ public Builder clearDestinationOptions() {
 
     private com.google.protobuf.LazyStringArrayList metadataFields_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureMetadataFieldsIsMutable() {
       if (!metadataFields_.isModifiable()) {
         metadataFields_ = new com.google.protobuf.LazyStringArrayList(metadataFields_);
@@ -755,35 +845,43 @@ private void ensureMetadataFieldsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
+     *
+     *
      * 
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @return A list containing the metadataFields. */ - public com.google.protobuf.ProtocolStringList - getMetadataFieldsList() { + public com.google.protobuf.ProtocolStringList getMetadataFieldsList() { metadataFields_.makeImmutable(); return metadataFields_; } /** + * + * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @return The count of metadataFields. */ public int getMetadataFieldsCount() { return metadataFields_.size(); } /** + * + * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @param index The index of the element to return. * @return The metadataFields at the given index. */ @@ -791,31 +889,37 @@ public java.lang.String getMetadataFields(int index) { return metadataFields_.get(index); } /** + * + * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the metadataFields at the given index. */ - public com.google.protobuf.ByteString - getMetadataFieldsBytes(int index) { + public com.google.protobuf.ByteString getMetadataFieldsBytes(int index) { return metadataFields_.getByteString(index); } /** + * + * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @param index The index to set the value at. * @param value The metadataFields to set. * @return This builder for chaining. */ - public Builder setMetadataFields( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetadataFields(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMetadataFieldsIsMutable(); metadataFields_.set(index, value); bitField0_ |= 0x00000001; @@ -823,17 +927,21 @@ public Builder setMetadataFields( return this; } /** + * + * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @param value The metadataFields to add. * @return This builder for chaining. */ - public Builder addMetadataFields( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMetadataFields(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMetadataFieldsIsMutable(); metadataFields_.add(value); bitField0_ |= 0x00000001; @@ -841,50 +949,58 @@ public Builder addMetadataFields( return this; } /** + * + * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @param values The metadataFields to add. * @return This builder for chaining. */ - public Builder addAllMetadataFields( - java.lang.Iterable values) { + public Builder addAllMetadataFields(java.lang.Iterable values) { ensureMetadataFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metadataFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metadataFields_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @return This builder for chaining. */ public Builder clearMetadataFields() { - metadataFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + metadataFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Metadata fields to be included in the report.
      * 
* * repeated string metadata_fields = 1; + * * @param value The bytes of the metadataFields to add. * @return This builder for chaining. */ - public Builder addMetadataFieldsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMetadataFieldsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMetadataFieldsIsMutable(); metadataFields_.add(value); @@ -894,13 +1010,19 @@ public Builder addMetadataFieldsBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageFilters, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder> storageFiltersBuilder_; + com.google.cloud.storageinsights.v1.CloudStorageFilters, + com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, + com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder> + storageFiltersBuilder_; /** + * + * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; + * * @return Whether the storageFilters field is set. */ @java.lang.Override @@ -908,11 +1030,14 @@ public boolean hasStorageFilters() { return filterCase_ == 2; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; + * * @return The storageFilters. */ @java.lang.Override @@ -930,13 +1055,16 @@ public com.google.cloud.storageinsights.v1.CloudStorageFilters getStorageFilters } } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ - public Builder setStorageFilters(com.google.cloud.storageinsights.v1.CloudStorageFilters value) { + public Builder setStorageFilters( + com.google.cloud.storageinsights.v1.CloudStorageFilters value) { if (storageFiltersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -950,6 +1078,8 @@ public Builder setStorageFilters(com.google.cloud.storageinsights.v1.CloudStorag return this; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
@@ -968,18 +1098,25 @@ public Builder setStorageFilters( return this; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ - public Builder mergeStorageFilters(com.google.cloud.storageinsights.v1.CloudStorageFilters value) { + public Builder mergeStorageFilters( + com.google.cloud.storageinsights.v1.CloudStorageFilters value) { if (storageFiltersBuilder_ == null) { - if (filterCase_ == 2 && - filter_ != com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance()) { - filter_ = com.google.cloud.storageinsights.v1.CloudStorageFilters.newBuilder((com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_) - .mergeFrom(value).buildPartial(); + if (filterCase_ == 2 + && filter_ + != com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance()) { + filter_ = + com.google.cloud.storageinsights.v1.CloudStorageFilters.newBuilder( + (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_) + .mergeFrom(value) + .buildPartial(); } else { filter_ = value; } @@ -995,6 +1132,8 @@ public Builder mergeStorageFilters(com.google.cloud.storageinsights.v1.CloudStor return this; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
@@ -1018,16 +1157,21 @@ public Builder clearStorageFilters() { return this; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ - public com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder getStorageFiltersBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder + getStorageFiltersBuilder() { return getStorageFiltersFieldBuilder().getBuilder(); } /** + * + * *
      * Cloud Storage as the storage system.
      * 
@@ -1035,7 +1179,8 @@ public com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder getStorag * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStorageFiltersOrBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder + getStorageFiltersOrBuilder() { if ((filterCase_ == 2) && (storageFiltersBuilder_ != null)) { return storageFiltersBuilder_.getMessageOrBuilder(); } else { @@ -1046,6 +1191,8 @@ public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStora } } /** + * + * *
      * Cloud Storage as the storage system.
      * 
@@ -1053,14 +1200,19 @@ public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStora * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageFilters, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder> + com.google.cloud.storageinsights.v1.CloudStorageFilters, + com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, + com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder> getStorageFiltersFieldBuilder() { if (storageFiltersBuilder_ == null) { if (!(filterCase_ == 2)) { filter_ = com.google.cloud.storageinsights.v1.CloudStorageFilters.getDefaultInstance(); } - storageFiltersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageFilters, com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder>( + storageFiltersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.CloudStorageFilters, + com.google.cloud.storageinsights.v1.CloudStorageFilters.Builder, + com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder>( (com.google.cloud.storageinsights.v1.CloudStorageFilters) filter_, getParentForChildren(), isClean()); @@ -1072,13 +1224,21 @@ public com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStora } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder> storageDestinationOptionsBuilder_; + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder> + storageDestinationOptionsBuilder_; /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * * @return Whether the storageDestinationOptions field is set. */ @java.lang.Override @@ -1086,35 +1246,49 @@ public boolean hasStorageDestinationOptions() { return destinationOptionsCase_ == 3; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * * @return The storageDestinationOptions. */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getStorageDestinationOptions() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + getStorageDestinationOptions() { if (storageDestinationOptionsBuilder_ == null) { if (destinationOptionsCase_ == 3) { - return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_; + return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) + destinationOptions_; } - return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); + return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + .getDefaultInstance(); } else { if (destinationOptionsCase_ == 3) { return storageDestinationOptionsBuilder_.getMessage(); } - return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); + return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + .getDefaultInstance(); } } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ - public Builder setStorageDestinationOptions(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions value) { + public Builder setStorageDestinationOptions( + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions value) { if (storageDestinationOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1128,14 +1302,19 @@ public Builder setStorageDestinationOptions(com.google.cloud.storageinsights.v1. return this; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ public Builder setStorageDestinationOptions( - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder builderForValue) { + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder + builderForValue) { if (storageDestinationOptionsBuilder_ == null) { destinationOptions_ = builderForValue.build(); onChanged(); @@ -1146,18 +1325,29 @@ public Builder setStorageDestinationOptions( return this; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ - public Builder mergeStorageDestinationOptions(com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions value) { + public Builder mergeStorageDestinationOptions( + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions value) { if (storageDestinationOptionsBuilder_ == null) { - if (destinationOptionsCase_ == 3 && - destinationOptions_ != com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance()) { - destinationOptions_ = com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.newBuilder((com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_) - .mergeFrom(value).buildPartial(); + if (destinationOptionsCase_ == 3 + && destinationOptions_ + != com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + .getDefaultInstance()) { + destinationOptions_ = + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.newBuilder( + (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) + destinationOptions_) + .mergeFrom(value) + .buildPartial(); } else { destinationOptions_ = value; } @@ -1173,11 +1363,15 @@ public Builder mergeStorageDestinationOptions(com.google.cloud.storageinsights.v return this; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ public Builder clearStorageDestinationOptions() { if (storageDestinationOptionsBuilder_ == null) { @@ -1196,50 +1390,74 @@ public Builder clearStorageDestinationOptions() { return this; } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder getStorageDestinationOptionsBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder + getStorageDestinationOptionsBuilder() { return getStorageDestinationOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ @java.lang.Override - public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder getStorageDestinationOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder + getStorageDestinationOptionsOrBuilder() { if ((destinationOptionsCase_ == 3) && (storageDestinationOptionsBuilder_ != null)) { return storageDestinationOptionsBuilder_.getMessageOrBuilder(); } else { if (destinationOptionsCase_ == 3) { - return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_; + return (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) + destinationOptions_; } - return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); + return com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + .getDefaultInstance(); } } /** + * + * *
      * Cloud Storage as the storage system.
      * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder> + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder> getStorageDestinationOptionsFieldBuilder() { if (storageDestinationOptionsBuilder_ == null) { if (!(destinationOptionsCase_ == 3)) { - destinationOptions_ = com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.getDefaultInstance(); + destinationOptions_ = + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions + .getDefaultInstance(); } - storageDestinationOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder>( - (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) destinationOptions_, + storageDestinationOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions, + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions.Builder, + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder>( + (com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions) + destinationOptions_, getParentForChildren(), isClean()); destinationOptions_ = null; @@ -1248,9 +1466,9 @@ public com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuild onChanged(); return storageDestinationOptionsBuilder_; } + @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); } @@ -1260,41 +1478,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ObjectMetadataReportOptions) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ObjectMetadataReportOptions) - private static final com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions(); } - public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getDefaultInstance() { + public static com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectMetadataReportOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectMetadataReportOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1306,9 +1526,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java similarity index 66% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java index a9ec7679e4fd..95fa5436c7eb 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ObjectMetadataReportOptionsOrBuilder.java @@ -1,72 +1,106 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ObjectMetadataReportOptionsOrBuilder extends +public interface ObjectMetadataReportOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ObjectMetadataReportOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; + * * @return A list containing the metadataFields. */ - java.util.List - getMetadataFieldsList(); + java.util.List getMetadataFieldsList(); /** + * + * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; + * * @return The count of metadataFields. */ int getMetadataFieldsCount(); /** + * + * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; + * * @param index The index of the element to return. * @return The metadataFields at the given index. */ java.lang.String getMetadataFields(int index); /** + * + * *
    * Metadata fields to be included in the report.
    * 
* * repeated string metadata_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the metadataFields at the given index. */ - com.google.protobuf.ByteString - getMetadataFieldsBytes(int index); + com.google.protobuf.ByteString getMetadataFieldsBytes(int index); /** + * + * *
    * Cloud Storage as the storage system.
    * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; + * * @return Whether the storageFilters field is set. */ boolean hasStorageFilters(); /** + * + * *
    * Cloud Storage as the storage system.
    * 
* * .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2; + * * @return The storageFilters. */ com.google.cloud.storageinsights.v1.CloudStorageFilters getStorageFilters(); /** + * + * *
    * Cloud Storage as the storage system.
    * 
@@ -76,33 +110,49 @@ public interface ObjectMetadataReportOptionsOrBuilder extends com.google.cloud.storageinsights.v1.CloudStorageFiltersOrBuilder getStorageFiltersOrBuilder(); /** + * + * *
    * Cloud Storage as the storage system.
    * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * * @return Whether the storageDestinationOptions field is set. */ boolean hasStorageDestinationOptions(); /** + * + * *
    * Cloud Storage as the storage system.
    * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * * @return The storageDestinationOptions. */ com.google.cloud.storageinsights.v1.CloudStorageDestinationOptions getStorageDestinationOptions(); /** + * + * *
    * Cloud Storage as the storage system.
    * 
* - * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * + * .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3; + * */ - com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder getStorageDestinationOptionsOrBuilder(); + com.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsOrBuilder + getStorageDestinationOptionsOrBuilder(); com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.FilterCase getFilterCase(); - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.DestinationOptionsCase getDestinationOptionsCase(); + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.DestinationOptionsCase + getDestinationOptionsCase(); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java similarity index 70% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java index 3b648828abf8..cd83cfc4553d 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,32 +46,37 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.OperationMetadata.class, com.google.cloud.storageinsights.v1.OperationMetadata.Builder.class); + com.google.cloud.storageinsights.v1.OperationMetadata.class, + com.google.cloud.storageinsights.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -61,11 +84,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -73,11 +100,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -87,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -99,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -111,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -123,14 +164,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -139,29 +184,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -170,14 +215,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -186,29 +235,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -217,14 +266,18 @@ public java.lang.String getVerb() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -233,29 +286,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -266,6 +319,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have been cancelled successfully
@@ -275,6 +330,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -283,14 +339,18 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -299,29 +359,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -330,6 +390,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,8 +402,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -374,12 +434,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -391,8 +449,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -405,33 +462,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.storageinsights.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.OperationMetadata other = (com.google.cloud.storageinsights.v1.OperationMetadata) obj; + com.google.cloud.storageinsights.v1.OperationMetadata other = + (com.google.cloud.storageinsights.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,8 +509,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -468,131 +518,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.OperationMetadata 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.storageinsights.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.OperationMetadata) com.google.cloud.storageinsights.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.OperationMetadata.class, com.google.cloud.storageinsights.v1.OperationMetadata.Builder.class); + com.google.cloud.storageinsights.v1.OperationMetadata.class, + com.google.cloud.storageinsights.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.OperationMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -616,9 +671,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -637,8 +692,11 @@ public com.google.cloud.storageinsights.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.storageinsights.v1.OperationMetadata buildPartial() { - com.google.cloud.storageinsights.v1.OperationMetadata result = new com.google.cloud.storageinsights.v1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.OperationMetadata result = + new com.google.cloud.storageinsights.v1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -646,14 +704,10 @@ public com.google.cloud.storageinsights.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.storageinsights.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -676,38 +730,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.OperationMetadata public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.storageinsights.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.storageinsights.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -715,7 +770,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.OperationMetadata other) { - if (other == com.google.cloud.storageinsights.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.storageinsights.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -771,51 +827,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -825,43 +885,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -877,14 +957,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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(); } else { @@ -895,17 +978,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -918,11 +1005,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -935,11 +1026,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -947,36 +1042,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -984,24 +1091,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1012,11 +1130,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1032,14 +1153,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1050,17 +1173,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1073,11 +1199,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1090,11 +1219,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1102,36 +1234,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.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> 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_; @@ -1139,18 +1279,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1159,20 +1301,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1180,28 +1323,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1211,17 +1361,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1231,18 +1385,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1251,20 +1407,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1272,28 +1429,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1303,17 +1467,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000008; @@ -1323,18 +1491,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1343,20 +1513,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1364,28 +1535,35 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1395,17 +1573,21 @@ public Builder clearStatusMessage() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000010; @@ -1413,8 +1595,10 @@ public Builder setStatusMessageBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1424,6 +1608,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1431,6 +1616,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1440,6 +1627,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1451,6 +1639,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1460,6 +1650,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1471,18 +1662,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1491,20 +1684,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1512,28 +1706,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1543,26 +1744,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000040; 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); } @@ -1572,12 +1777,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.OperationMetadata) private static final com.google.cloud.storageinsights.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.OperationMetadata(); } @@ -1586,27 +1791,27 @@ public static com.google.cloud.storageinsights.v1.OperationMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1621,6 +1826,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java index 1c792da3ffcd..af1e7efd87eb 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/OperationMetadataOrBuilder.java @@ -1,127 +1,182 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have been cancelled successfully
@@ -131,27 +186,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java similarity index 61% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java index c73581e74a2e..abc9306e3eb8 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptions.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Options to configure Parquet formatted reports.
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ParquetOptions} */ -public final class ParquetOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ParquetOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ParquetOptions) ParquetOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ParquetOptions.newBuilder() to construct. private ParquetOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ParquetOptions() { - } + + private ParquetOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ParquetOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ParquetOptions.class, com.google.cloud.storageinsights.v1.ParquetOptions.Builder.class); + com.google.cloud.storageinsights.v1.ParquetOptions.class, + com.google.cloud.storageinsights.v1.ParquetOptions.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.storageinsights.v1.ParquetOptions)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ParquetOptions other = (com.google.cloud.storageinsights.v1.ParquetOptions) obj; + com.google.cloud.storageinsights.v1.ParquetOptions other = + (com.google.cloud.storageinsights.v1.ParquetOptions) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -97,131 +116,135 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ParquetOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ParquetOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ParquetOptions 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.storageinsights.v1.ParquetOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ParquetOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ParquetOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Options to configure Parquet formatted reports.
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ParquetOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ParquetOptions) com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ParquetOptions.class, com.google.cloud.storageinsights.v1.ParquetOptions.Builder.class); + com.google.cloud.storageinsights.v1.ParquetOptions.class, + com.google.cloud.storageinsights.v1.ParquetOptions.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ParquetOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.storageinsights.v1.ParquetOptions build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ParquetOptions buildPartial() { - com.google.cloud.storageinsights.v1.ParquetOptions result = new com.google.cloud.storageinsights.v1.ParquetOptions(this); + com.google.cloud.storageinsights.v1.ParquetOptions result = + new com.google.cloud.storageinsights.v1.ParquetOptions(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.storageinsights.v1.ParquetOptions 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.storageinsights.v1.ParquetOptions) { - return mergeFrom((com.google.cloud.storageinsights.v1.ParquetOptions)other); + return mergeFrom((com.google.cloud.storageinsights.v1.ParquetOptions) other); } else { super.mergeFrom(other); return this; @@ -298,7 +323,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ParquetOptions other) { - if (other == com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +351,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +367,9 @@ public Builder mergeFrom( } // finally 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); } @@ -352,12 +379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ParquetOptions) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ParquetOptions) private static final com.google.cloud.storageinsights.v1.ParquetOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ParquetOptions(); } @@ -366,27 +393,27 @@ public static com.google.cloud.storageinsights.v1.ParquetOptions getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParquetOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParquetOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ParquetOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java new file mode 100644 index 000000000000..e69352827900 --- /dev/null +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public interface ParquetOptionsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ParquetOptions) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java similarity index 66% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java index 04a489ce6932..ecb5806a6c22 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message describing ReportConfig object. ReportConfig is the configuration to
  * generate reports.
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.ReportConfig}
  */
-public final class ReportConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReportConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ReportConfig)
     ReportConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReportConfig.newBuilder() to construct.
   private ReportConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReportConfig() {
     name_ = "";
     displayName_ = "";
@@ -31,46 +49,50 @@ private ReportConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReportConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_ReportConfig_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 10:
         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.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.ReportConfig.class, com.google.cloud.storageinsights.v1.ReportConfig.Builder.class);
+            com.google.cloud.storageinsights.v1.ReportConfig.class,
+            com.google.cloud.storageinsights.v1.ReportConfig.Builder.class);
   }
 
   private int reportFormatCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object reportFormat_;
+
   public enum ReportFormatCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CSV_OPTIONS(6),
     PARQUET_OPTIONS(7),
     REPORTFORMAT_NOT_SET(0);
     private final int value;
+
     private ReportFormatCase(int value) {
       this.value = value;
     }
@@ -86,32 +108,39 @@ public static ReportFormatCase valueOf(int value) {
 
     public static ReportFormatCase forNumber(int value) {
       switch (value) {
-        case 6: return CSV_OPTIONS;
-        case 7: return PARQUET_OPTIONS;
-        case 0: return REPORTFORMAT_NOT_SET;
-        default: return null;
+        case 6:
+          return CSV_OPTIONS;
+        case 7:
+          return PARQUET_OPTIONS;
+        case 0:
+          return REPORTFORMAT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ReportFormatCase
-  getReportFormatCase() {
-    return ReportFormatCase.forNumber(
-        reportFormatCase_);
+  public ReportFormatCase getReportFormatCase() {
+    return ReportFormatCase.forNumber(reportFormatCase_);
   }
 
   private int reportKindCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object reportKind_;
+
   public enum ReportKindCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OBJECT_METADATA_REPORT_OPTIONS(8),
     REPORTKIND_NOT_SET(0);
     private final int value;
+
     private ReportKindCase(int value) {
       this.value = value;
     }
@@ -127,32 +156,38 @@ public static ReportKindCase valueOf(int value) {
 
     public static ReportKindCase forNumber(int value) {
       switch (value) {
-        case 8: return OBJECT_METADATA_REPORT_OPTIONS;
-        case 0: return REPORTKIND_NOT_SET;
-        default: return null;
+        case 8:
+          return OBJECT_METADATA_REPORT_OPTIONS;
+        case 0:
+          return REPORTKIND_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ReportKindCase
-  getReportKindCase() {
-    return ReportKindCase.forNumber(
-        reportKindCase_);
+  public ReportKindCase getReportKindCase() {
+    return ReportKindCase.forNumber(reportKindCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -161,30 +196,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; } } /** + * + * *
    * name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
    * 
* * 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 { @@ -195,11 +230,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -207,11 +246,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -219,11 +262,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -233,11 +279,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. [Output only] Update time stamp
    * 
* - * .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 @@ -245,11 +295,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. [Output only] Update time stamp
    * 
* - * .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 @@ -257,11 +311,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. [Output only] Update time stamp
    * 
* - * .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() { @@ -271,11 +328,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int FREQUENCY_OPTIONS_FIELD_NUMBER = 5; private com.google.cloud.storageinsights.v1.FrequencyOptions frequencyOptions_; /** + * + * *
    * The frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; + * * @return Whether the frequencyOptions field is set. */ @java.lang.Override @@ -283,18 +343,25 @@ public boolean hasFrequencyOptions() { return frequencyOptions_ != null; } /** + * + * *
    * The frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; + * * @return The frequencyOptions. */ @java.lang.Override public com.google.cloud.storageinsights.v1.FrequencyOptions getFrequencyOptions() { - return frequencyOptions_ == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() : frequencyOptions_; + return frequencyOptions_ == null + ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() + : frequencyOptions_; } /** + * + * *
    * The frequency of report generation.
    * 
@@ -302,17 +369,23 @@ public com.google.cloud.storageinsights.v1.FrequencyOptions getFrequencyOptions( * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder getFrequencyOptionsOrBuilder() { - return frequencyOptions_ == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() : frequencyOptions_; + public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder + getFrequencyOptionsOrBuilder() { + return frequencyOptions_ == null + ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() + : frequencyOptions_; } public static final int CSV_OPTIONS_FIELD_NUMBER = 6; /** + * + * *
    * Options for CSV formatted reports.
    * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; + * * @return Whether the csvOptions field is set. */ @java.lang.Override @@ -320,21 +393,26 @@ public boolean hasCsvOptions() { return reportFormatCase_ == 6; } /** + * + * *
    * Options for CSV formatted reports.
    * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; + * * @return The csvOptions. */ @java.lang.Override public com.google.cloud.storageinsights.v1.CSVOptions getCsvOptions() { if (reportFormatCase_ == 6) { - return (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_; + return (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_; } return com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance(); } /** + * + * *
    * Options for CSV formatted reports.
    * 
@@ -344,18 +422,21 @@ public com.google.cloud.storageinsights.v1.CSVOptions getCsvOptions() { @java.lang.Override public com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBuilder() { if (reportFormatCase_ == 6) { - return (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_; + return (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_; } return com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance(); } public static final int PARQUET_OPTIONS_FIELD_NUMBER = 7; /** + * + * *
    * Options for Parquet formatted reports.
    * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; + * * @return Whether the parquetOptions field is set. */ @java.lang.Override @@ -363,21 +444,26 @@ public boolean hasParquetOptions() { return reportFormatCase_ == 7; } /** + * + * *
    * Options for Parquet formatted reports.
    * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; + * * @return The parquetOptions. */ @java.lang.Override public com.google.cloud.storageinsights.v1.ParquetOptions getParquetOptions() { if (reportFormatCase_ == 7) { - return (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_; + return (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_; } return com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance(); } /** + * + * *
    * Options for Parquet formatted reports.
    * 
@@ -387,18 +473,23 @@ public com.google.cloud.storageinsights.v1.ParquetOptions getParquetOptions() { @java.lang.Override public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOptionsOrBuilder() { if (reportFormatCase_ == 7) { - return (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_; + return (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_; } return com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance(); } public static final int OBJECT_METADATA_REPORT_OPTIONS_FIELD_NUMBER = 8; /** + * + * *
    * Report for exporting object metadata.
    * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * * @return Whether the objectMetadataReportOptions field is set. */ @java.lang.Override @@ -406,62 +497,75 @@ public boolean hasObjectMetadataReportOptions() { return reportKindCase_ == 8; } /** + * + * *
    * Report for exporting object metadata.
    * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * * @return The objectMetadataReportOptions. */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getObjectMetadataReportOptions() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions + getObjectMetadataReportOptions() { if (reportKindCase_ == 8) { - return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; + return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; } return com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance(); } /** + * + * *
    * Report for exporting object metadata.
    * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder getObjectMetadataReportOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder + getObjectMetadataReportOptionsOrBuilder() { if (reportKindCase_ == 8) { - return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; + return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; } return com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance(); } public static final int LABELS_FIELD_NUMBER = 10; + 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.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -469,20 +573,21 @@ public int getLabelsCount() { * map<string, string> labels = 10; */ @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 as key value pairs
    * 
@@ -494,6 +599,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -501,17 +608,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + 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 as key value pairs
    * 
@@ -519,11 +628,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 10; */ @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(); } @@ -531,15 +640,19 @@ public java.lang.String getLabelsOrThrow( } public static final int DISPLAY_NAME_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User provided display name which can be empty and limited to 256 characters
    * that is editable.
    * 
* * string display_name = 11; + * * @return The displayName. */ @java.lang.Override @@ -548,30 +661,30 @@ 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; } } /** + * + * *
    * User provided display name which can be empty and limited to 256 characters
    * that is editable.
    * 
* * string display_name = 11; + * * @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 { @@ -580,6 +693,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,8 +705,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_); } @@ -612,14 +725,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(7, (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_); } if (reportKindCase_ == 8) { - output.writeMessage(8, (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 10); + output.writeMessage( + 8, (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, displayName_); } @@ -636,38 +746,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (frequencyOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getFrequencyOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFrequencyOptions()); } if (reportFormatCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_); } if (reportFormatCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_); } if (reportKindCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_); - } - 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(10, labels__); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_); + } + 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(10, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, displayName_); @@ -680,43 +790,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.storageinsights.v1.ReportConfig)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ReportConfig other = (com.google.cloud.storageinsights.v1.ReportConfig) obj; + com.google.cloud.storageinsights.v1.ReportConfig other = + (com.google.cloud.storageinsights.v1.ReportConfig) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) 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 (hasFrequencyOptions() != other.hasFrequencyOptions()) return false; if (hasFrequencyOptions()) { - if (!getFrequencyOptions() - .equals(other.getFrequencyOptions())) return false; + if (!getFrequencyOptions().equals(other.getFrequencyOptions())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getReportFormatCase().equals(other.getReportFormatCase())) return false; switch (reportFormatCase_) { case 6: - if (!getCsvOptions() - .equals(other.getCsvOptions())) return false; + if (!getCsvOptions().equals(other.getCsvOptions())) return false; break; case 7: - if (!getParquetOptions() - .equals(other.getParquetOptions())) return false; + if (!getParquetOptions().equals(other.getParquetOptions())) return false; break; case 0: default: @@ -724,8 +827,8 @@ public boolean equals(final java.lang.Object obj) { if (!getReportKindCase().equals(other.getReportKindCase())) return false; switch (reportKindCase_) { case 8: - if (!getObjectMetadataReportOptions() - .equals(other.getObjectMetadataReportOptions())) return false; + if (!getObjectMetadataReportOptions().equals(other.getObjectMetadataReportOptions())) + return false; break; case 0: default: @@ -786,99 +889,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ReportConfig 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.storageinsights.v1.ReportConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ReportConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ReportConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 describing ReportConfig object. ReportConfig is the configuration to
    * generate reports.
@@ -890,55 +998,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.ReportConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ReportConfig)
       com.google.cloud.storageinsights.v1.ReportConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 10:
           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 10:
           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.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.ReportConfig.class, com.google.cloud.storageinsights.v1.ReportConfig.Builder.class);
+              com.google.cloud.storageinsights.v1.ReportConfig.class,
+              com.google.cloud.storageinsights.v1.ReportConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.ReportConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -978,9 +1083,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor;
     }
 
     @java.lang.Override
@@ -999,8 +1104,11 @@ public com.google.cloud.storageinsights.v1.ReportConfig build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.ReportConfig buildPartial() {
-      com.google.cloud.storageinsights.v1.ReportConfig result = new com.google.cloud.storageinsights.v1.ReportConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.storageinsights.v1.ReportConfig result =
+          new com.google.cloud.storageinsights.v1.ReportConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1012,19 +1120,14 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportConfig resu
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.frequencyOptions_ = frequencyOptionsBuilder_ == null
-            ? frequencyOptions_
-            : frequencyOptionsBuilder_.build();
+        result.frequencyOptions_ =
+            frequencyOptionsBuilder_ == null ? frequencyOptions_ : frequencyOptionsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
         result.labels_ = internalGetLabels();
@@ -1038,18 +1141,15 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportConfig resu
     private void buildPartialOneofs(com.google.cloud.storageinsights.v1.ReportConfig result) {
       result.reportFormatCase_ = reportFormatCase_;
       result.reportFormat_ = this.reportFormat_;
-      if (reportFormatCase_ == 6 &&
-          csvOptionsBuilder_ != null) {
+      if (reportFormatCase_ == 6 && csvOptionsBuilder_ != null) {
         result.reportFormat_ = csvOptionsBuilder_.build();
       }
-      if (reportFormatCase_ == 7 &&
-          parquetOptionsBuilder_ != null) {
+      if (reportFormatCase_ == 7 && parquetOptionsBuilder_ != null) {
         result.reportFormat_ = parquetOptionsBuilder_.build();
       }
       result.reportKindCase_ = reportKindCase_;
       result.reportKind_ = this.reportKind_;
-      if (reportKindCase_ == 8 &&
-          objectMetadataReportOptionsBuilder_ != null) {
+      if (reportKindCase_ == 8 && objectMetadataReportOptionsBuilder_ != null) {
         result.reportKind_ = objectMetadataReportOptionsBuilder_.build();
       }
     }
@@ -1058,38 +1158,39 @@ private void buildPartialOneofs(com.google.cloud.storageinsights.v1.ReportConfig
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.ReportConfig) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.ReportConfig)other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.ReportConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1097,7 +1198,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportConfig other) {
-      if (other == com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1112,8 +1214,7 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportConfig other)
       if (other.hasFrequencyOptions()) {
         mergeFrequencyOptions(other.getFrequencyOptions());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000080;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
@@ -1121,26 +1222,31 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportConfig other)
         onChanged();
       }
       switch (other.getReportFormatCase()) {
-        case CSV_OPTIONS: {
-          mergeCsvOptions(other.getCsvOptions());
-          break;
-        }
-        case PARQUET_OPTIONS: {
-          mergeParquetOptions(other.getParquetOptions());
-          break;
-        }
-        case REPORTFORMAT_NOT_SET: {
-          break;
-        }
+        case CSV_OPTIONS:
+          {
+            mergeCsvOptions(other.getCsvOptions());
+            break;
+          }
+        case PARQUET_OPTIONS:
+          {
+            mergeParquetOptions(other.getParquetOptions());
+            break;
+          }
+        case REPORTFORMAT_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getReportKindCase()) {
-        case OBJECT_METADATA_REPORT_OPTIONS: {
-          mergeObjectMetadataReportOptions(other.getObjectMetadataReportOptions());
-          break;
-        }
-        case REPORTKIND_NOT_SET: {
-          break;
-        }
+        case OBJECT_METADATA_REPORT_OPTIONS:
+          {
+            mergeObjectMetadataReportOptions(other.getObjectMetadataReportOptions());
+            break;
+          }
+        case REPORTKIND_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1168,73 +1274,75 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 42: {
-              input.readMessage(
-                  getFrequencyOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getCsvOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              reportFormatCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getParquetOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              reportFormatCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getObjectMetadataReportOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              reportKindCase_ = 8;
-              break;
-            } // case 66
-            case 82: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 82
-            case 90: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 90
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 42:
+              {
+                input.readMessage(
+                    getFrequencyOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getCsvOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                reportFormatCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getParquetOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                reportFormatCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getObjectMetadataReportOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                reportKindCase_ = 8;
+                break;
+              } // case 66
+            case 82:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 82
+            case 90:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 90
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1244,12 +1352,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int reportFormatCase_ = 0;
     private java.lang.Object reportFormat_;
-    public ReportFormatCase
-        getReportFormatCase() {
-      return ReportFormatCase.forNumber(
-          reportFormatCase_);
+
+    public ReportFormatCase getReportFormatCase() {
+      return ReportFormatCase.forNumber(reportFormatCase_);
     }
 
     public Builder clearReportFormat() {
@@ -1261,10 +1369,9 @@ public Builder clearReportFormat() {
 
     private int reportKindCase_ = 0;
     private java.lang.Object reportKind_;
-    public ReportKindCase
-        getReportKindCase() {
-      return ReportKindCase.forNumber(
-          reportKindCase_);
+
+    public ReportKindCase getReportKindCase() {
+      return ReportKindCase.forNumber(reportKindCase_);
     }
 
     public Builder clearReportKind() {
@@ -1278,19 +1385,21 @@ public Builder clearReportKind() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * 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; @@ -1299,21 +1408,22 @@ public java.lang.String getName() { } } /** + * + * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * 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 { @@ -1321,30 +1431,37 @@ public java.lang.String getName() { } } /** + * + * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1354,18 +1471,22 @@ public Builder clearName() { return this; } /** + * + * *
      * name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1375,39 +1496,58 @@ public Builder setNameBytes( 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. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1423,14 +1563,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); } else { @@ -1441,17 +1584,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1464,11 +1611,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1481,11 +1632,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1493,36 +1648,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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. [Output only] Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; @@ -1530,39 +1697,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. [Output only] Update time stamp
      * 
* - * .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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. [Output only] Update time stamp
      * 
* - * .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. [Output only] Update time stamp
      * 
* - * .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) { @@ -1578,14 +1764,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. [Output only] Update time stamp
      * 
* - * .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(); } else { @@ -1596,17 +1785,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. [Output only] Update time stamp
      * 
* - * .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 (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1619,11 +1812,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. [Output only] Update time stamp
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1636,11 +1833,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. [Output only] Update time stamp
      * 
* - * .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() { bitField0_ |= 0x00000004; @@ -1648,36 +1849,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. [Output only] Update time stamp
      * 
* - * .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. [Output only] Update time stamp
      * 
* - * .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_; @@ -1685,34 +1898,47 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.storageinsights.v1.FrequencyOptions frequencyOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.FrequencyOptions, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder> frequencyOptionsBuilder_; + com.google.cloud.storageinsights.v1.FrequencyOptions, + com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, + com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder> + frequencyOptionsBuilder_; /** + * + * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; + * * @return Whether the frequencyOptions field is set. */ public boolean hasFrequencyOptions() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; + * * @return The frequencyOptions. */ public com.google.cloud.storageinsights.v1.FrequencyOptions getFrequencyOptions() { if (frequencyOptionsBuilder_ == null) { - return frequencyOptions_ == null ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() : frequencyOptions_; + return frequencyOptions_ == null + ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() + : frequencyOptions_; } else { return frequencyOptionsBuilder_.getMessage(); } } /** + * + * *
      * The frequency of report generation.
      * 
@@ -1733,6 +1959,8 @@ public Builder setFrequencyOptions(com.google.cloud.storageinsights.v1.Frequency return this; } /** + * + * *
      * The frequency of report generation.
      * 
@@ -1751,17 +1979,21 @@ public Builder setFrequencyOptions( return this; } /** + * + * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ - public Builder mergeFrequencyOptions(com.google.cloud.storageinsights.v1.FrequencyOptions value) { + public Builder mergeFrequencyOptions( + com.google.cloud.storageinsights.v1.FrequencyOptions value) { if (frequencyOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - frequencyOptions_ != null && - frequencyOptions_ != com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && frequencyOptions_ != null + && frequencyOptions_ + != com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance()) { getFrequencyOptionsBuilder().mergeFrom(value); } else { frequencyOptions_ = value; @@ -1774,6 +2006,8 @@ public Builder mergeFrequencyOptions(com.google.cloud.storageinsights.v1.Frequen return this; } /** + * + * *
      * The frequency of report generation.
      * 
@@ -1791,33 +2025,42 @@ public Builder clearFrequencyOptions() { return this; } /** + * + * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ - public com.google.cloud.storageinsights.v1.FrequencyOptions.Builder getFrequencyOptionsBuilder() { + public com.google.cloud.storageinsights.v1.FrequencyOptions.Builder + getFrequencyOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getFrequencyOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * The frequency of report generation.
      * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ - public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder getFrequencyOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder + getFrequencyOptionsOrBuilder() { if (frequencyOptionsBuilder_ != null) { return frequencyOptionsBuilder_.getMessageOrBuilder(); } else { - return frequencyOptions_ == null ? - com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() : frequencyOptions_; + return frequencyOptions_ == null + ? com.google.cloud.storageinsights.v1.FrequencyOptions.getDefaultInstance() + : frequencyOptions_; } } /** + * + * *
      * The frequency of report generation.
      * 
@@ -1825,27 +2068,36 @@ public com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder getFrequenc * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.FrequencyOptions, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder> + com.google.cloud.storageinsights.v1.FrequencyOptions, + com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, + com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder> getFrequencyOptionsFieldBuilder() { if (frequencyOptionsBuilder_ == null) { - frequencyOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.FrequencyOptions, com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder>( - getFrequencyOptions(), - getParentForChildren(), - isClean()); + frequencyOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.FrequencyOptions, + com.google.cloud.storageinsights.v1.FrequencyOptions.Builder, + com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder>( + getFrequencyOptions(), getParentForChildren(), isClean()); frequencyOptions_ = null; } return frequencyOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CSVOptions, com.google.cloud.storageinsights.v1.CSVOptions.Builder, com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder> csvOptionsBuilder_; + com.google.cloud.storageinsights.v1.CSVOptions, + com.google.cloud.storageinsights.v1.CSVOptions.Builder, + com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder> + csvOptionsBuilder_; /** + * + * *
      * Options for CSV formatted reports.
      * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; + * * @return Whether the csvOptions field is set. */ @java.lang.Override @@ -1853,11 +2105,14 @@ public boolean hasCsvOptions() { return reportFormatCase_ == 6; } /** + * + * *
      * Options for CSV formatted reports.
      * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; + * * @return The csvOptions. */ @java.lang.Override @@ -1875,6 +2130,8 @@ public com.google.cloud.storageinsights.v1.CSVOptions getCsvOptions() { } } /** + * + * *
      * Options for CSV formatted reports.
      * 
@@ -1895,6 +2152,8 @@ public Builder setCsvOptions(com.google.cloud.storageinsights.v1.CSVOptions valu return this; } /** + * + * *
      * Options for CSV formatted reports.
      * 
@@ -1913,6 +2172,8 @@ public Builder setCsvOptions( return this; } /** + * + * *
      * Options for CSV formatted reports.
      * 
@@ -1921,10 +2182,14 @@ public Builder setCsvOptions( */ public Builder mergeCsvOptions(com.google.cloud.storageinsights.v1.CSVOptions value) { if (csvOptionsBuilder_ == null) { - if (reportFormatCase_ == 6 && - reportFormat_ != com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance()) { - reportFormat_ = com.google.cloud.storageinsights.v1.CSVOptions.newBuilder((com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_) - .mergeFrom(value).buildPartial(); + if (reportFormatCase_ == 6 + && reportFormat_ + != com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance()) { + reportFormat_ = + com.google.cloud.storageinsights.v1.CSVOptions.newBuilder( + (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_) + .mergeFrom(value) + .buildPartial(); } else { reportFormat_ = value; } @@ -1940,6 +2205,8 @@ public Builder mergeCsvOptions(com.google.cloud.storageinsights.v1.CSVOptions va return this; } /** + * + * *
      * Options for CSV formatted reports.
      * 
@@ -1963,6 +2230,8 @@ public Builder clearCsvOptions() { return this; } /** + * + * *
      * Options for CSV formatted reports.
      * 
@@ -1973,6 +2242,8 @@ public com.google.cloud.storageinsights.v1.CSVOptions.Builder getCsvOptionsBuild return getCsvOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options for CSV formatted reports.
      * 
@@ -1991,6 +2262,8 @@ public com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBu } } /** + * + * *
      * Options for CSV formatted reports.
      * 
@@ -1998,14 +2271,19 @@ public com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBu * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CSVOptions, com.google.cloud.storageinsights.v1.CSVOptions.Builder, com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder> + com.google.cloud.storageinsights.v1.CSVOptions, + com.google.cloud.storageinsights.v1.CSVOptions.Builder, + com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder> getCsvOptionsFieldBuilder() { if (csvOptionsBuilder_ == null) { if (!(reportFormatCase_ == 6)) { reportFormat_ = com.google.cloud.storageinsights.v1.CSVOptions.getDefaultInstance(); } - csvOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.CSVOptions, com.google.cloud.storageinsights.v1.CSVOptions.Builder, com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder>( + csvOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.CSVOptions, + com.google.cloud.storageinsights.v1.CSVOptions.Builder, + com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder>( (com.google.cloud.storageinsights.v1.CSVOptions) reportFormat_, getParentForChildren(), isClean()); @@ -2017,13 +2295,19 @@ public com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ParquetOptions, com.google.cloud.storageinsights.v1.ParquetOptions.Builder, com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder> parquetOptionsBuilder_; + com.google.cloud.storageinsights.v1.ParquetOptions, + com.google.cloud.storageinsights.v1.ParquetOptions.Builder, + com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder> + parquetOptionsBuilder_; /** + * + * *
      * Options for Parquet formatted reports.
      * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; + * * @return Whether the parquetOptions field is set. */ @java.lang.Override @@ -2031,11 +2315,14 @@ public boolean hasParquetOptions() { return reportFormatCase_ == 7; } /** + * + * *
      * Options for Parquet formatted reports.
      * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; + * * @return The parquetOptions. */ @java.lang.Override @@ -2053,6 +2340,8 @@ public com.google.cloud.storageinsights.v1.ParquetOptions getParquetOptions() { } } /** + * + * *
      * Options for Parquet formatted reports.
      * 
@@ -2073,6 +2362,8 @@ public Builder setParquetOptions(com.google.cloud.storageinsights.v1.ParquetOpti return this; } /** + * + * *
      * Options for Parquet formatted reports.
      * 
@@ -2091,6 +2382,8 @@ public Builder setParquetOptions( return this; } /** + * + * *
      * Options for Parquet formatted reports.
      * 
@@ -2099,10 +2392,14 @@ public Builder setParquetOptions( */ public Builder mergeParquetOptions(com.google.cloud.storageinsights.v1.ParquetOptions value) { if (parquetOptionsBuilder_ == null) { - if (reportFormatCase_ == 7 && - reportFormat_ != com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance()) { - reportFormat_ = com.google.cloud.storageinsights.v1.ParquetOptions.newBuilder((com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_) - .mergeFrom(value).buildPartial(); + if (reportFormatCase_ == 7 + && reportFormat_ + != com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance()) { + reportFormat_ = + com.google.cloud.storageinsights.v1.ParquetOptions.newBuilder( + (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_) + .mergeFrom(value) + .buildPartial(); } else { reportFormat_ = value; } @@ -2118,6 +2415,8 @@ public Builder mergeParquetOptions(com.google.cloud.storageinsights.v1.ParquetOp return this; } /** + * + * *
      * Options for Parquet formatted reports.
      * 
@@ -2141,6 +2440,8 @@ public Builder clearParquetOptions() { return this; } /** + * + * *
      * Options for Parquet formatted reports.
      * 
@@ -2151,6 +2452,8 @@ public com.google.cloud.storageinsights.v1.ParquetOptions.Builder getParquetOpti return getParquetOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options for Parquet formatted reports.
      * 
@@ -2158,7 +2461,8 @@ public com.google.cloud.storageinsights.v1.ParquetOptions.Builder getParquetOpti * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder + getParquetOptionsOrBuilder() { if ((reportFormatCase_ == 7) && (parquetOptionsBuilder_ != null)) { return parquetOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2169,6 +2473,8 @@ public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOpt } } /** + * + * *
      * Options for Parquet formatted reports.
      * 
@@ -2176,14 +2482,19 @@ public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOpt * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ParquetOptions, com.google.cloud.storageinsights.v1.ParquetOptions.Builder, com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder> + com.google.cloud.storageinsights.v1.ParquetOptions, + com.google.cloud.storageinsights.v1.ParquetOptions.Builder, + com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder> getParquetOptionsFieldBuilder() { if (parquetOptionsBuilder_ == null) { if (!(reportFormatCase_ == 7)) { reportFormat_ = com.google.cloud.storageinsights.v1.ParquetOptions.getDefaultInstance(); } - parquetOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ParquetOptions, com.google.cloud.storageinsights.v1.ParquetOptions.Builder, com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder>( + parquetOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ParquetOptions, + com.google.cloud.storageinsights.v1.ParquetOptions.Builder, + com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder>( (com.google.cloud.storageinsights.v1.ParquetOptions) reportFormat_, getParentForChildren(), isClean()); @@ -2195,13 +2506,21 @@ public com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOpt } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder> objectMetadataReportOptionsBuilder_; + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder> + objectMetadataReportOptionsBuilder_; /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * * @return Whether the objectMetadataReportOptions field is set. */ @java.lang.Override @@ -2209,15 +2528,21 @@ public boolean hasObjectMetadataReportOptions() { return reportKindCase_ == 8; } /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * * @return The objectMetadataReportOptions. */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getObjectMetadataReportOptions() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions + getObjectMetadataReportOptions() { if (objectMetadataReportOptionsBuilder_ == null) { if (reportKindCase_ == 8) { return (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_; @@ -2231,13 +2556,18 @@ public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getObject } } /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ - public Builder setObjectMetadataReportOptions(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions value) { + public Builder setObjectMetadataReportOptions( + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions value) { if (objectMetadataReportOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2251,11 +2581,15 @@ public Builder setObjectMetadataReportOptions(com.google.cloud.storageinsights.v return this; } /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ public Builder setObjectMetadataReportOptions( com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder builderForValue) { @@ -2269,18 +2603,28 @@ public Builder setObjectMetadataReportOptions( return this; } /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ - public Builder mergeObjectMetadataReportOptions(com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions value) { + public Builder mergeObjectMetadataReportOptions( + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions value) { if (objectMetadataReportOptionsBuilder_ == null) { - if (reportKindCase_ == 8 && - reportKind_ != com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance()) { - reportKind_ = com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.newBuilder((com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_) - .mergeFrom(value).buildPartial(); + if (reportKindCase_ == 8 + && reportKind_ + != com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions + .getDefaultInstance()) { + reportKind_ = + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.newBuilder( + (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_) + .mergeFrom(value) + .buildPartial(); } else { reportKind_ = value; } @@ -2296,11 +2640,15 @@ public Builder mergeObjectMetadataReportOptions(com.google.cloud.storageinsights return this; } /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ public Builder clearObjectMetadataReportOptions() { if (objectMetadataReportOptionsBuilder_ == null) { @@ -2319,24 +2667,34 @@ public Builder clearObjectMetadataReportOptions() { return this; } /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder getObjectMetadataReportOptionsBuilder() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder + getObjectMetadataReportOptionsBuilder() { return getObjectMetadataReportOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder getObjectMetadataReportOptionsOrBuilder() { + public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder + getObjectMetadataReportOptionsOrBuilder() { if ((reportKindCase_ == 8) && (objectMetadataReportOptionsBuilder_ != null)) { return objectMetadataReportOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2347,21 +2705,31 @@ public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder } } /** + * + * *
      * Report for exporting object metadata.
      * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder> + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder> getObjectMetadataReportOptionsFieldBuilder() { if (objectMetadataReportOptionsBuilder_ == null) { if (!(reportKindCase_ == 8)) { - reportKind_ = com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance(); + reportKind_ = + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.getDefaultInstance(); } - objectMetadataReportOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder>( + objectMetadataReportOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions, + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions.Builder, + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder>( (com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions) reportKind_, getParentForChildren(), isClean()); @@ -2372,21 +2740,19 @@ public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder return objectMetadataReportOptionsBuilder_; } - 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() { 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(); @@ -2395,10 +2761,13 @@ public com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -2406,20 +2775,21 @@ public int getLabelsCount() { * map<string, string> labels = 10; */ @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 as key value pairs
      * 
@@ -2431,6 +2801,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -2438,17 +2810,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + 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 as key value pairs
      * 
@@ -2456,92 +2830,96 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 10; */ @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(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 10; */ - 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() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 10; */ - 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"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + 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"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000080; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 10; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } private java.lang.Object displayName_ = ""; /** + * + * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; + * * @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; @@ -2550,21 +2928,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; + * * @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 { @@ -2572,30 +2951,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2605,27 +2991,31 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User provided display name which can be empty and limited to 256 characters
      * that is editable.
      * 
* * string display_name = 11; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000100; 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); } @@ -2635,12 +3025,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ReportConfig) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ReportConfig) private static final com.google.cloud.storageinsights.v1.ReportConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ReportConfig(); } @@ -2649,27 +3039,27 @@ public static com.google.cloud.storageinsights.v1.ReportConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReportConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2684,6 +3074,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ReportConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigName.java diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java similarity index 74% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java index 580d5d10f415..baba6a229984 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportConfigOrBuilder.java @@ -1,107 +1,158 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ReportConfigOrBuilder extends +public interface ReportConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ReportConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. [Output only] Create time stamp
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. [Output only] Update time stamp
    * 
* - * .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. [Output only] Update time stamp
    * 
* - * .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. [Output only] Update time stamp
    * 
* - * .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(); /** + * + * *
    * The frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; + * * @return Whether the frequencyOptions field is set. */ boolean hasFrequencyOptions(); /** + * + * *
    * The frequency of report generation.
    * 
* * .google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5; + * * @return The frequencyOptions. */ com.google.cloud.storageinsights.v1.FrequencyOptions getFrequencyOptions(); /** + * + * *
    * The frequency of report generation.
    * 
@@ -111,24 +162,32 @@ public interface ReportConfigOrBuilder extends com.google.cloud.storageinsights.v1.FrequencyOptionsOrBuilder getFrequencyOptionsOrBuilder(); /** + * + * *
    * Options for CSV formatted reports.
    * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; + * * @return Whether the csvOptions field is set. */ boolean hasCsvOptions(); /** + * + * *
    * Options for CSV formatted reports.
    * 
* * .google.cloud.storageinsights.v1.CSVOptions csv_options = 6; + * * @return The csvOptions. */ com.google.cloud.storageinsights.v1.CSVOptions getCsvOptions(); /** + * + * *
    * Options for CSV formatted reports.
    * 
@@ -138,24 +197,32 @@ public interface ReportConfigOrBuilder extends com.google.cloud.storageinsights.v1.CSVOptionsOrBuilder getCsvOptionsOrBuilder(); /** + * + * *
    * Options for Parquet formatted reports.
    * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; + * * @return Whether the parquetOptions field is set. */ boolean hasParquetOptions(); /** + * + * *
    * Options for Parquet formatted reports.
    * 
* * .google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7; + * * @return The parquetOptions. */ com.google.cloud.storageinsights.v1.ParquetOptions getParquetOptions(); /** + * + * *
    * Options for Parquet formatted reports.
    * 
@@ -165,33 +232,50 @@ public interface ReportConfigOrBuilder extends com.google.cloud.storageinsights.v1.ParquetOptionsOrBuilder getParquetOptionsOrBuilder(); /** + * + * *
    * Report for exporting object metadata.
    * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * * @return Whether the objectMetadataReportOptions field is set. */ boolean hasObjectMetadataReportOptions(); /** + * + * *
    * Report for exporting object metadata.
    * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * * @return The objectMetadataReportOptions. */ com.google.cloud.storageinsights.v1.ObjectMetadataReportOptions getObjectMetadataReportOptions(); /** + * + * *
    * Report for exporting object metadata.
    * 
* - * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * + * .google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8; + * */ - com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder getObjectMetadataReportOptionsOrBuilder(); + com.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsOrBuilder + getObjectMetadataReportOptionsOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -200,30 +284,31 @@ public interface ReportConfigOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 10; */ - 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 as key value pairs
    * 
* * map<string, string> labels = 10; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -231,41 +316,47 @@ boolean containsLabels( * map<string, string> labels = 10; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 10; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * User provided display name which can be empty and limited to 256 characters
    * that is editable.
    * 
* * string display_name = 11; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User provided display name which can be empty and limited to 256 characters
    * that is editable.
    * 
* * string display_name = 11; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); com.google.cloud.storageinsights.v1.ReportConfig.ReportFormatCase getReportFormatCase(); diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java similarity index 70% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java index 7cf1fe38c5db..6869dd8a44ab 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message describing ReportDetail object. ReportDetail represents metadata of
  * generated reports for a ReportConfig.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.storageinsights.v1.ReportDetail}
  */
-public final class ReportDetail extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReportDetail extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ReportDetail)
     ReportDetailOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReportDetail.newBuilder() to construct.
   private ReportDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReportDetail() {
     name_ = "";
     reportPathPrefix_ = "";
@@ -28,97 +46,107 @@ private ReportDetail() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReportDetail();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_ReportDetail_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 5:
         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.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable
+    return com.google.cloud.storageinsights.v1.V1Proto
+        .internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.storageinsights.v1.ReportDetail.class, com.google.cloud.storageinsights.v1.ReportDetail.Builder.class);
+            com.google.cloud.storageinsights.v1.ReportDetail.class,
+            com.google.cloud.storageinsights.v1.ReportDetail.Builder.class);
   }
 
-  public interface MetricsOrBuilder extends
+  public interface MetricsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ReportDetail.Metrics)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Count of Cloud Storage objects which are part of the report.
      * 
* * int64 processed_records_count = 1; + * * @return The processedRecordsCount. */ long getProcessedRecordsCount(); } /** + * + * *
    * Different metrics associated with the generated report.
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ReportDetail.Metrics} */ - public static final class Metrics extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Metrics extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.ReportDetail.Metrics) MetricsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metrics.newBuilder() to construct. private Metrics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Metrics() { - } + + private Metrics() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Metrics(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.class, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder.class); + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.class, + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder.class); } public static final int PROCESSED_RECORDS_COUNT_FIELD_NUMBER = 1; private long processedRecordsCount_ = 0L; /** + * + * *
      * Count of Cloud Storage objects which are part of the report.
      * 
* * int64 processed_records_count = 1; + * * @return The processedRecordsCount. */ @java.lang.Override @@ -127,6 +155,7 @@ public long getProcessedRecordsCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +167,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 (processedRecordsCount_ != 0L) { output.writeInt64(1, processedRecordsCount_); } @@ -153,8 +181,7 @@ public int getSerializedSize() { size = 0; if (processedRecordsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, processedRecordsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, processedRecordsCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -164,15 +191,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.storageinsights.v1.ReportDetail.Metrics)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ReportDetail.Metrics other = (com.google.cloud.storageinsights.v1.ReportDetail.Metrics) obj; + com.google.cloud.storageinsights.v1.ReportDetail.Metrics other = + (com.google.cloud.storageinsights.v1.ReportDetail.Metrics) obj; - if (getProcessedRecordsCount() - != other.getProcessedRecordsCount()) return false; + if (getProcessedRecordsCount() != other.getProcessedRecordsCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,97 +212,101 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROCESSED_RECORDS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getProcessedRecordsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getProcessedRecordsCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics 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.storageinsights.v1.ReportDetail.Metrics parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.ReportDetail.Metrics prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.ReportDetail.Metrics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -285,39 +316,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Different metrics associated with the generated report.
      * 
* * Protobuf type {@code google.cloud.storageinsights.v1.ReportDetail.Metrics} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ReportDetail.Metrics) com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.class, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder.class); + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.class, + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.ReportDetail.Metrics.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; } @java.lang.Override @@ -348,8 +381,11 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Metrics build() { @java.lang.Override public com.google.cloud.storageinsights.v1.ReportDetail.Metrics buildPartial() { - com.google.cloud.storageinsights.v1.ReportDetail.Metrics result = new com.google.cloud.storageinsights.v1.ReportDetail.Metrics(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.ReportDetail.Metrics result = + new com.google.cloud.storageinsights.v1.ReportDetail.Metrics(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -365,38 +401,41 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportDetail.Metr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.storageinsights.v1.ReportDetail.Metrics) { - return mergeFrom((com.google.cloud.storageinsights.v1.ReportDetail.Metrics)other); + return mergeFrom((com.google.cloud.storageinsights.v1.ReportDetail.Metrics) other); } else { super.mergeFrom(other); return this; @@ -404,7 +443,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportDetail.Metrics other) { - if (other == com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance()) return this; + if (other == com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance()) + return this; if (other.getProcessedRecordsCount() != 0L) { setProcessedRecordsCount(other.getProcessedRecordsCount()); } @@ -434,17 +474,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - processedRecordsCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + processedRecordsCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -454,15 +496,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long processedRecordsCount_ ; + private long processedRecordsCount_; /** + * + * *
        * Count of Cloud Storage objects which are part of the report.
        * 
* * int64 processed_records_count = 1; + * * @return The processedRecordsCount. */ @java.lang.Override @@ -470,11 +516,14 @@ public long getProcessedRecordsCount() { return processedRecordsCount_; } /** + * + * *
        * Count of Cloud Storage objects which are part of the report.
        * 
* * int64 processed_records_count = 1; + * * @param value The processedRecordsCount to set. * @return This builder for chaining. */ @@ -486,11 +535,14 @@ public Builder setProcessedRecordsCount(long value) { return this; } /** + * + * *
        * Count of Cloud Storage objects which are part of the report.
        * 
* * int64 processed_records_count = 1; + * * @return This builder for chaining. */ public Builder clearProcessedRecordsCount() { @@ -499,6 +551,7 @@ public Builder clearProcessedRecordsCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -511,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ReportDetail.Metrics) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ReportDetail.Metrics) private static final com.google.cloud.storageinsights.v1.ReportDetail.Metrics DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ReportDetail.Metrics(); } @@ -525,27 +578,28 @@ public static com.google.cloud.storageinsights.v1.ReportDetail.Metrics getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metrics parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metrics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -560,19 +614,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ReportDetail.Metrics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -581,30 +638,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; } } /** + * + * *
    * Name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
    * 
* * 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 { @@ -615,12 +672,15 @@ public java.lang.String getName() { public static final int SNAPSHOT_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp snapshotTime_; /** + * + * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
    * 
* * .google.protobuf.Timestamp snapshot_time = 2; + * * @return Whether the snapshotTime field is set. */ @java.lang.Override @@ -628,19 +688,26 @@ public boolean hasSnapshotTime() { return snapshotTime_ != null; } /** + * + * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
    * 
* * .google.protobuf.Timestamp snapshot_time = 2; + * * @return The snapshotTime. */ @java.lang.Override public com.google.protobuf.Timestamp getSnapshotTime() { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } /** + * + * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
@@ -650,13 +717,18 @@ public com.google.protobuf.Timestamp getSnapshotTime() {
    */
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
-    return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_;
+    return snapshotTime_ == null
+        ? com.google.protobuf.Timestamp.getDefaultInstance()
+        : snapshotTime_;
   }
 
   public static final int REPORT_PATH_PREFIX_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object reportPathPrefix_ = "";
   /**
+   *
+   *
    * 
    * Prefix of the object name of each report's shard. This will have full
    * prefix except the "extension" and "shard_id".
@@ -668,6 +740,7 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
    * 
* * string report_path_prefix = 8; + * * @return The reportPathPrefix. */ @java.lang.Override @@ -676,14 +749,15 @@ public java.lang.String getReportPathPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportPathPrefix_ = s; return s; } } /** + * + * *
    * Prefix of the object name of each report's shard. This will have full
    * prefix except the "extension" and "shard_id".
@@ -695,16 +769,15 @@ public java.lang.String getReportPathPrefix() {
    * 
* * string report_path_prefix = 8; + * * @return The bytes for reportPathPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getReportPathPrefixBytes() { + public com.google.protobuf.ByteString getReportPathPrefixBytes() { java.lang.Object ref = reportPathPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportPathPrefix_ = b; return b; } else { @@ -715,11 +788,14 @@ public java.lang.String getReportPathPrefix() { public static final int SHARDS_COUNT_FIELD_NUMBER = 9; private long shardsCount_ = 0L; /** + * + * *
    * Total shards generated for the report.
    * 
* * int64 shards_count = 9; + * * @return The shardsCount. */ @java.lang.Override @@ -730,11 +806,14 @@ public long getShardsCount() { public static final int STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status status_; /** + * + * *
    * Status of the ReportDetail.
    * 
* * .google.rpc.Status status = 4; + * * @return Whether the status field is set. */ @java.lang.Override @@ -742,11 +821,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Status of the ReportDetail.
    * 
* * .google.rpc.Status status = 4; + * * @return The status. */ @java.lang.Override @@ -754,6 +836,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * Status of the ReportDetail.
    * 
@@ -766,32 +850,34 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 5; + 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.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -799,20 +885,21 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @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 as key value pairs
    * 
@@ -824,6 +911,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -831,17 +920,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + 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 as key value pairs
    * 
@@ -849,11 +940,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 5; */ @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(); } @@ -863,12 +954,15 @@ public java.lang.String getLabelsOrThrow( public static final int TARGET_DATETIME_FIELD_NUMBER = 6; private com.google.type.DateTime targetDatetime_; /** + * + * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
    * 
* * .google.type.DateTime target_datetime = 6; + * * @return Whether the targetDatetime field is set. */ @java.lang.Override @@ -876,19 +970,26 @@ public boolean hasTargetDatetime() { return targetDatetime_ != null; } /** + * + * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
    * 
* * .google.type.DateTime target_datetime = 6; + * * @return The targetDatetime. */ @java.lang.Override public com.google.type.DateTime getTargetDatetime() { - return targetDatetime_ == null ? com.google.type.DateTime.getDefaultInstance() : targetDatetime_; + return targetDatetime_ == null + ? com.google.type.DateTime.getDefaultInstance() + : targetDatetime_; } /** + * + * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
@@ -898,17 +999,22 @@ public com.google.type.DateTime getTargetDatetime() {
    */
   @java.lang.Override
   public com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder() {
-    return targetDatetime_ == null ? com.google.type.DateTime.getDefaultInstance() : targetDatetime_;
+    return targetDatetime_ == null
+        ? com.google.type.DateTime.getDefaultInstance()
+        : targetDatetime_;
   }
 
   public static final int REPORT_METRICS_FIELD_NUMBER = 7;
   private com.google.cloud.storageinsights.v1.ReportDetail.Metrics reportMetrics_;
   /**
+   *
+   *
    * 
    * Metrics of the report.
    * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; + * * @return Whether the reportMetrics field is set. */ @java.lang.Override @@ -916,18 +1022,25 @@ public boolean hasReportMetrics() { return reportMetrics_ != null; } /** + * + * *
    * Metrics of the report.
    * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; + * * @return The reportMetrics. */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportDetail.Metrics getReportMetrics() { - return reportMetrics_ == null ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() : reportMetrics_; + return reportMetrics_ == null + ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() + : reportMetrics_; } /** + * + * *
    * Metrics of the report.
    * 
@@ -935,11 +1048,15 @@ public com.google.cloud.storageinsights.v1.ReportDetail.Metrics getReportMetrics * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ @java.lang.Override - public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder() { - return reportMetrics_ == null ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() : reportMetrics_; + public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder + getReportMetricsOrBuilder() { + return reportMetrics_ == null + ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() + : reportMetrics_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -951,8 +1068,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_); } @@ -962,12 +1078,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (status_ != null) { output.writeMessage(4, getStatus()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); if (targetDatetime_ != null) { output.writeMessage(6, getTargetDatetime()); } @@ -993,37 +1105,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (snapshotTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSnapshotTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSnapshotTime()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStatus()); - } - 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(5, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStatus()); + } + 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(5, labels__); } if (targetDatetime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getTargetDatetime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTargetDatetime()); } if (reportMetrics_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getReportMetrics()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getReportMetrics()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportPathPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, reportPathPrefix_); } if (shardsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, shardsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, shardsCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1033,40 +1140,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.storageinsights.v1.ReportDetail)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.ReportDetail other = (com.google.cloud.storageinsights.v1.ReportDetail) obj; + com.google.cloud.storageinsights.v1.ReportDetail other = + (com.google.cloud.storageinsights.v1.ReportDetail) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasSnapshotTime() != other.hasSnapshotTime()) return false; if (hasSnapshotTime()) { - if (!getSnapshotTime() - .equals(other.getSnapshotTime())) return false; + if (!getSnapshotTime().equals(other.getSnapshotTime())) return false; } - if (!getReportPathPrefix() - .equals(other.getReportPathPrefix())) return false; - if (getShardsCount() - != other.getShardsCount()) return false; + if (!getReportPathPrefix().equals(other.getReportPathPrefix())) return false; + if (getShardsCount() != other.getShardsCount()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasTargetDatetime() != other.hasTargetDatetime()) return false; if (hasTargetDatetime()) { - if (!getTargetDatetime() - .equals(other.getTargetDatetime())) return false; + if (!getTargetDatetime().equals(other.getTargetDatetime())) return false; } if (hasReportMetrics() != other.hasReportMetrics()) return false; if (hasReportMetrics()) { - if (!getReportMetrics() - .equals(other.getReportMetrics())) return false; + if (!getReportMetrics().equals(other.getReportMetrics())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1088,8 +1188,7 @@ public int hashCode() { hash = (37 * hash) + REPORT_PATH_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getReportPathPrefix().hashCode(); hash = (37 * hash) + SHARDS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getShardsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardsCount()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); @@ -1111,99 +1210,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.ReportDetail parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.ReportDetail parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.ReportDetail 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.storageinsights.v1.ReportDetail parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.ReportDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.storageinsights.v1.ReportDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 describing ReportDetail object. ReportDetail represents metadata of
    * generated reports for a ReportConfig.
@@ -1212,55 +1316,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.storageinsights.v1.ReportDetail}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.ReportDetail)
       com.google.cloud.storageinsights.v1.ReportDetailOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 5:
           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 5:
           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.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.storageinsights.v1.ReportDetail.class, com.google.cloud.storageinsights.v1.ReportDetail.Builder.class);
+              com.google.cloud.storageinsights.v1.ReportDetail.class,
+              com.google.cloud.storageinsights.v1.ReportDetail.Builder.class);
     }
 
     // Construct using com.google.cloud.storageinsights.v1.ReportDetail.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1293,9 +1394,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.storageinsights.v1.V1Proto
+          .internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor;
     }
 
     @java.lang.Override
@@ -1314,8 +1415,11 @@ public com.google.cloud.storageinsights.v1.ReportDetail build() {
 
     @java.lang.Override
     public com.google.cloud.storageinsights.v1.ReportDetail buildPartial() {
-      com.google.cloud.storageinsights.v1.ReportDetail result = new com.google.cloud.storageinsights.v1.ReportDetail(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.storageinsights.v1.ReportDetail result =
+          new com.google.cloud.storageinsights.v1.ReportDetail(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1326,9 +1430,8 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportDetail resu
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.snapshotTime_ = snapshotTimeBuilder_ == null
-            ? snapshotTime_
-            : snapshotTimeBuilder_.build();
+        result.snapshotTime_ =
+            snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.reportPathPrefix_ = reportPathPrefix_;
@@ -1337,23 +1440,19 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportDetail resu
         result.shardsCount_ = shardsCount_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.status_ = statusBuilder_ == null
-            ? status_
-            : statusBuilder_.build();
+        result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.targetDatetime_ = targetDatetimeBuilder_ == null
-            ? targetDatetime_
-            : targetDatetimeBuilder_.build();
+        result.targetDatetime_ =
+            targetDatetimeBuilder_ == null ? targetDatetime_ : targetDatetimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.reportMetrics_ = reportMetricsBuilder_ == null
-            ? reportMetrics_
-            : reportMetricsBuilder_.build();
+        result.reportMetrics_ =
+            reportMetricsBuilder_ == null ? reportMetrics_ : reportMetricsBuilder_.build();
       }
     }
 
@@ -1361,38 +1460,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.ReportDetail resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.ReportDetail) {
-        return mergeFrom((com.google.cloud.storageinsights.v1.ReportDetail)other);
+        return mergeFrom((com.google.cloud.storageinsights.v1.ReportDetail) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1400,7 +1500,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportDetail other) {
-      if (other == com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance()) return this;
+      if (other == com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1420,8 +1521,7 @@ public Builder mergeFrom(com.google.cloud.storageinsights.v1.ReportDetail other)
       if (other.hasStatus()) {
         mergeStatus(other.getStatus());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (other.hasTargetDatetime()) {
         mergeTargetDatetime(other.getTargetDatetime());
@@ -1455,64 +1555,67 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getSnapshotTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getTargetDatetimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getReportMetricsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              reportPathPrefix_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 66
-            case 72: {
-              shardsCount_ = input.readInt64();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 72
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getTargetDatetimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getReportMetricsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                reportPathPrefix_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 66
+            case 72:
+              {
+                shardsCount_ = input.readInt64();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 72
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1522,23 +1625,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * 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; @@ -1547,21 +1653,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * 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 { @@ -1569,30 +1676,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1602,18 +1716,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of resource. It will be of form
      * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1623,36 +1741,49 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp snapshotTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + snapshotTimeBuilder_; /** + * + * *
      * The snapshot time.
      * All the report data is referenced at this point of time.
      * 
* * .google.protobuf.Timestamp snapshot_time = 2; + * * @return Whether the snapshotTime field is set. */ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The snapshot time.
      * All the report data is referenced at this point of time.
      * 
* * .google.protobuf.Timestamp snapshot_time = 2; + * * @return The snapshotTime. */ public com.google.protobuf.Timestamp getSnapshotTime() { if (snapshotTimeBuilder_ == null) { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } else { return snapshotTimeBuilder_.getMessage(); } } /** + * + * *
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1674,6 +1805,8 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1681,8 +1814,7 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp snapshot_time = 2;
      */
-    public Builder setSnapshotTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (snapshotTimeBuilder_ == null) {
         snapshotTime_ = builderForValue.build();
       } else {
@@ -1693,6 +1825,8 @@ public Builder setSnapshotTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1702,9 +1836,9 @@ public Builder setSnapshotTime(
      */
     public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) {
       if (snapshotTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          snapshotTime_ != null &&
-          snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && snapshotTime_ != null
+            && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getSnapshotTimeBuilder().mergeFrom(value);
         } else {
           snapshotTime_ = value;
@@ -1717,6 +1851,8 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1735,6 +1871,8 @@ public Builder clearSnapshotTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1748,6 +1886,8 @@ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() {
       return getSnapshotTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1759,11 +1899,14 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
       if (snapshotTimeBuilder_ != null) {
         return snapshotTimeBuilder_.getMessageOrBuilder();
       } else {
-        return snapshotTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_;
+        return snapshotTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : snapshotTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The snapshot time.
      * All the report data is referenced at this point of time.
@@ -1772,14 +1915,17 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
      * .google.protobuf.Timestamp snapshot_time = 2;
      */
     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>
         getSnapshotTimeFieldBuilder() {
       if (snapshotTimeBuilder_ == null) {
-        snapshotTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getSnapshotTime(),
-                getParentForChildren(),
-                isClean());
+        snapshotTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getSnapshotTime(), getParentForChildren(), isClean());
         snapshotTime_ = null;
       }
       return snapshotTimeBuilder_;
@@ -1787,6 +1933,8 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
 
     private java.lang.Object reportPathPrefix_ = "";
     /**
+     *
+     *
      * 
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -1798,13 +1946,13 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
      * 
* * string report_path_prefix = 8; + * * @return The reportPathPrefix. */ public java.lang.String getReportPathPrefix() { java.lang.Object ref = reportPathPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportPathPrefix_ = s; return s; @@ -1813,6 +1961,8 @@ public java.lang.String getReportPathPrefix() { } } /** + * + * *
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -1824,15 +1974,14 @@ public java.lang.String getReportPathPrefix() {
      * 
* * string report_path_prefix = 8; + * * @return The bytes for reportPathPrefix. */ - public com.google.protobuf.ByteString - getReportPathPrefixBytes() { + public com.google.protobuf.ByteString getReportPathPrefixBytes() { java.lang.Object ref = reportPathPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportPathPrefix_ = b; return b; } else { @@ -1840,6 +1989,8 @@ public java.lang.String getReportPathPrefix() { } } /** + * + * *
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -1851,18 +2002,22 @@ public java.lang.String getReportPathPrefix() {
      * 
* * string report_path_prefix = 8; + * * @param value The reportPathPrefix to set. * @return This builder for chaining. */ - public Builder setReportPathPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportPathPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reportPathPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -1874,6 +2029,7 @@ public Builder setReportPathPrefix(
      * 
* * string report_path_prefix = 8; + * * @return This builder for chaining. */ public Builder clearReportPathPrefix() { @@ -1883,6 +2039,8 @@ public Builder clearReportPathPrefix() { return this; } /** + * + * *
      * Prefix of the object name of each report's shard. This will have full
      * prefix except the "extension" and "shard_id".
@@ -1894,12 +2052,14 @@ public Builder clearReportPathPrefix() {
      * 
* * string report_path_prefix = 8; + * * @param value The bytes for reportPathPrefix to set. * @return This builder for chaining. */ - public Builder setReportPathPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportPathPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reportPathPrefix_ = value; bitField0_ |= 0x00000004; @@ -1907,13 +2067,16 @@ public Builder setReportPathPrefixBytes( return this; } - private long shardsCount_ ; + private long shardsCount_; /** + * + * *
      * Total shards generated for the report.
      * 
* * int64 shards_count = 9; + * * @return The shardsCount. */ @java.lang.Override @@ -1921,11 +2084,14 @@ public long getShardsCount() { return shardsCount_; } /** + * + * *
      * Total shards generated for the report.
      * 
* * int64 shards_count = 9; + * * @param value The shardsCount to set. * @return This builder for chaining. */ @@ -1937,11 +2103,14 @@ public Builder setShardsCount(long value) { return this; } /** + * + * *
      * Total shards generated for the report.
      * 
* * int64 shards_count = 9; + * * @return This builder for chaining. */ public Builder clearShardsCount() { @@ -1953,24 +2122,31 @@ public Builder clearShardsCount() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; /** + * + * *
      * Status of the ReportDetail.
      * 
* * .google.rpc.Status status = 4; + * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Status of the ReportDetail.
      * 
* * .google.rpc.Status status = 4; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1981,6 +2157,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * Status of the ReportDetail.
      * 
@@ -2001,14 +2179,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of the ReportDetail.
      * 
* * .google.rpc.Status status = 4; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { @@ -2019,6 +2198,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Status of the ReportDetail.
      * 
@@ -2027,9 +2208,9 @@ public Builder setStatus( */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - status_ != null && - status_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && status_ != null + && status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -2042,6 +2223,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of the ReportDetail.
      * 
@@ -2059,6 +2242,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Status of the ReportDetail.
      * 
@@ -2071,6 +2256,8 @@ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Status of the ReportDetail.
      * 
@@ -2081,11 +2268,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
      * Status of the ReportDetail.
      * 
@@ -2093,34 +2281,32 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } - 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() { 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(); @@ -2129,10 +2315,13 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -2140,20 +2329,21 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @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 as key value pairs
      * 
@@ -2165,6 +2355,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -2172,17 +2364,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + 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 as key value pairs
      * 
@@ -2190,109 +2384,124 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 5; */ @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(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 5; */ - 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() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 5; */ - 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"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + 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"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 5; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } private com.google.type.DateTime targetDatetime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> targetDatetimeBuilder_; + com.google.type.DateTime, + com.google.type.DateTime.Builder, + com.google.type.DateTimeOrBuilder> + targetDatetimeBuilder_; /** + * + * *
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
      * 
* * .google.type.DateTime target_datetime = 6; + * * @return Whether the targetDatetime field is set. */ public boolean hasTargetDatetime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
      * 
* * .google.type.DateTime target_datetime = 6; + * * @return The targetDatetime. */ public com.google.type.DateTime getTargetDatetime() { if (targetDatetimeBuilder_ == null) { - return targetDatetime_ == null ? com.google.type.DateTime.getDefaultInstance() : targetDatetime_; + return targetDatetime_ == null + ? com.google.type.DateTime.getDefaultInstance() + : targetDatetime_; } else { return targetDatetimeBuilder_.getMessage(); } } /** + * + * *
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2314,6 +2523,8 @@ public Builder setTargetDatetime(com.google.type.DateTime value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2321,8 +2532,7 @@ public Builder setTargetDatetime(com.google.type.DateTime value) {
      *
      * .google.type.DateTime target_datetime = 6;
      */
-    public Builder setTargetDatetime(
-        com.google.type.DateTime.Builder builderForValue) {
+    public Builder setTargetDatetime(com.google.type.DateTime.Builder builderForValue) {
       if (targetDatetimeBuilder_ == null) {
         targetDatetime_ = builderForValue.build();
       } else {
@@ -2333,6 +2543,8 @@ public Builder setTargetDatetime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2342,9 +2554,9 @@ public Builder setTargetDatetime(
      */
     public Builder mergeTargetDatetime(com.google.type.DateTime value) {
       if (targetDatetimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0) &&
-          targetDatetime_ != null &&
-          targetDatetime_ != com.google.type.DateTime.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0)
+            && targetDatetime_ != null
+            && targetDatetime_ != com.google.type.DateTime.getDefaultInstance()) {
           getTargetDatetimeBuilder().mergeFrom(value);
         } else {
           targetDatetime_ = value;
@@ -2357,6 +2569,8 @@ public Builder mergeTargetDatetime(com.google.type.DateTime value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2375,6 +2589,8 @@ public Builder clearTargetDatetime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2388,6 +2604,8 @@ public com.google.type.DateTime.Builder getTargetDatetimeBuilder() {
       return getTargetDatetimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2399,11 +2617,14 @@ public com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder() {
       if (targetDatetimeBuilder_ != null) {
         return targetDatetimeBuilder_.getMessageOrBuilder();
       } else {
-        return targetDatetime_ == null ?
-            com.google.type.DateTime.getDefaultInstance() : targetDatetime_;
+        return targetDatetime_ == null
+            ? com.google.type.DateTime.getDefaultInstance()
+            : targetDatetime_;
       }
     }
     /**
+     *
+     *
      * 
      * The date for which report is generated. The time part of target_datetime
      * will be zero till we support multiple reports per day.
@@ -2412,14 +2633,17 @@ public com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder() {
      * .google.type.DateTime target_datetime = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> 
+            com.google.type.DateTime,
+            com.google.type.DateTime.Builder,
+            com.google.type.DateTimeOrBuilder>
         getTargetDatetimeFieldBuilder() {
       if (targetDatetimeBuilder_ == null) {
-        targetDatetimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder>(
-                getTargetDatetime(),
-                getParentForChildren(),
-                isClean());
+        targetDatetimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.DateTime,
+                com.google.type.DateTime.Builder,
+                com.google.type.DateTimeOrBuilder>(
+                getTargetDatetime(), getParentForChildren(), isClean());
         targetDatetime_ = null;
       }
       return targetDatetimeBuilder_;
@@ -2427,41 +2651,55 @@ public com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder() {
 
     private com.google.cloud.storageinsights.v1.ReportDetail.Metrics reportMetrics_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.storageinsights.v1.ReportDetail.Metrics, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder> reportMetricsBuilder_;
+            com.google.cloud.storageinsights.v1.ReportDetail.Metrics,
+            com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder,
+            com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder>
+        reportMetricsBuilder_;
     /**
+     *
+     *
      * 
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; + * * @return Whether the reportMetrics field is set. */ public boolean hasReportMetrics() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; + * * @return The reportMetrics. */ public com.google.cloud.storageinsights.v1.ReportDetail.Metrics getReportMetrics() { if (reportMetricsBuilder_ == null) { - return reportMetrics_ == null ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() : reportMetrics_; + return reportMetrics_ == null + ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() + : reportMetrics_; } else { return reportMetricsBuilder_.getMessage(); } } /** + * + * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ - public Builder setReportMetrics(com.google.cloud.storageinsights.v1.ReportDetail.Metrics value) { + public Builder setReportMetrics( + com.google.cloud.storageinsights.v1.ReportDetail.Metrics value) { if (reportMetricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2475,6 +2713,8 @@ public Builder setReportMetrics(com.google.cloud.storageinsights.v1.ReportDetail return this; } /** + * + * *
      * Metrics of the report.
      * 
@@ -2493,17 +2733,21 @@ public Builder setReportMetrics( return this; } /** + * + * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ - public Builder mergeReportMetrics(com.google.cloud.storageinsights.v1.ReportDetail.Metrics value) { + public Builder mergeReportMetrics( + com.google.cloud.storageinsights.v1.ReportDetail.Metrics value) { if (reportMetricsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - reportMetrics_ != null && - reportMetrics_ != com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && reportMetrics_ != null + && reportMetrics_ + != com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance()) { getReportMetricsBuilder().mergeFrom(value); } else { reportMetrics_ = value; @@ -2516,6 +2760,8 @@ public Builder mergeReportMetrics(com.google.cloud.storageinsights.v1.ReportDeta return this; } /** + * + * *
      * Metrics of the report.
      * 
@@ -2533,33 +2779,42 @@ public Builder clearReportMetrics() { return this; } /** + * + * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ - public com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder getReportMetricsBuilder() { + public com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder + getReportMetricsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getReportMetricsFieldBuilder().getBuilder(); } /** + * + * *
      * Metrics of the report.
      * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ - public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder() { + public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder + getReportMetricsOrBuilder() { if (reportMetricsBuilder_ != null) { return reportMetricsBuilder_.getMessageOrBuilder(); } else { - return reportMetrics_ == null ? - com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() : reportMetrics_; + return reportMetrics_ == null + ? com.google.cloud.storageinsights.v1.ReportDetail.Metrics.getDefaultInstance() + : reportMetrics_; } } /** + * + * *
      * Metrics of the report.
      * 
@@ -2567,21 +2822,24 @@ public com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder getRepo * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail.Metrics, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder> + com.google.cloud.storageinsights.v1.ReportDetail.Metrics, + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, + com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder> getReportMetricsFieldBuilder() { if (reportMetricsBuilder_ == null) { - reportMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportDetail.Metrics, com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder>( - getReportMetrics(), - getParentForChildren(), - isClean()); + reportMetricsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportDetail.Metrics, + com.google.cloud.storageinsights.v1.ReportDetail.Metrics.Builder, + com.google.cloud.storageinsights.v1.ReportDetail.MetricsOrBuilder>( + getReportMetrics(), getParentForChildren(), isClean()); reportMetrics_ = null; } return reportMetricsBuilder_; } + @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); } @@ -2591,12 +2849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.ReportDetail) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.ReportDetail) private static final com.google.cloud.storageinsights.v1.ReportDetail DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.ReportDetail(); } @@ -2605,27 +2863,27 @@ public static com.google.cloud.storageinsights.v1.ReportDetail getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReportDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2640,6 +2898,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.storageinsights.v1.ReportDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailName.java diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java similarity index 81% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java index 81bf50410e93..351d7f52dd6a 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetailOrBuilder.java @@ -1,55 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface ReportDetailOrBuilder extends +public interface ReportDetailOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ReportDetail) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of resource. It will be of form
    * projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
    * 
* * .google.protobuf.Timestamp snapshot_time = 2; + * * @return Whether the snapshotTime field is set. */ boolean hasSnapshotTime(); /** + * + * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
    * 
* * .google.protobuf.Timestamp snapshot_time = 2; + * * @return The snapshotTime. */ com.google.protobuf.Timestamp getSnapshotTime(); /** + * + * *
    * The snapshot time.
    * All the report data is referenced at this point of time.
@@ -60,6 +89,8 @@ public interface ReportDetailOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Prefix of the object name of each report's shard. This will have full
    * prefix except the "extension" and "shard_id".
@@ -71,10 +102,13 @@ public interface ReportDetailOrBuilder extends
    * 
* * string report_path_prefix = 8; + * * @return The reportPathPrefix. */ java.lang.String getReportPathPrefix(); /** + * + * *
    * Prefix of the object name of each report's shard. This will have full
    * prefix except the "extension" and "shard_id".
@@ -86,40 +120,51 @@ public interface ReportDetailOrBuilder extends
    * 
* * string report_path_prefix = 8; + * * @return The bytes for reportPathPrefix. */ - com.google.protobuf.ByteString - getReportPathPrefixBytes(); + com.google.protobuf.ByteString getReportPathPrefixBytes(); /** + * + * *
    * Total shards generated for the report.
    * 
* * int64 shards_count = 9; + * * @return The shardsCount. */ long getShardsCount(); /** + * + * *
    * Status of the ReportDetail.
    * 
* * .google.rpc.Status status = 4; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Status of the ReportDetail.
    * 
* * .google.rpc.Status status = 4; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * Status of the ReportDetail.
    * 
@@ -129,6 +174,8 @@ public interface ReportDetailOrBuilder extends com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -137,30 +184,31 @@ public interface ReportDetailOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 5; */ - 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 as key value pairs
    * 
* * map<string, string> labels = 5; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -168,41 +216,50 @@ boolean containsLabels( * map<string, string> labels = 5; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 5; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
    * 
* * .google.type.DateTime target_datetime = 6; + * * @return Whether the targetDatetime field is set. */ boolean hasTargetDatetime(); /** + * + * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
    * 
* * .google.type.DateTime target_datetime = 6; + * * @return The targetDatetime. */ com.google.type.DateTime getTargetDatetime(); /** + * + * *
    * The date for which report is generated. The time part of target_datetime
    * will be zero till we support multiple reports per day.
@@ -213,24 +270,32 @@ java.lang.String getLabelsOrThrow(
   com.google.type.DateTimeOrBuilder getTargetDatetimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Metrics of the report.
    * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; + * * @return Whether the reportMetrics field is set. */ boolean hasReportMetrics(); /** + * + * *
    * Metrics of the report.
    * 
* * .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7; + * * @return The reportMetrics. */ com.google.cloud.storageinsights.v1.ReportDetail.Metrics getReportMetrics(); /** + * + * *
    * Metrics of the report.
    * 
diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java similarity index 70% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java index a708901099bb..1858f9fe578d 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; /** + * + * *
  * Message for updating a ReportConfig
  * 
* * Protobuf type {@code google.cloud.storageinsights.v1.UpdateReportConfigRequest} */ -public final class UpdateReportConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateReportConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.storageinsights.v1.UpdateReportConfigRequest) UpdateReportConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateReportConfigRequest.newBuilder() to construct. private UpdateReportConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateReportConfigRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateReportConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int REPORT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.storageinsights.v1.ReportConfig reportConfig_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the reportConfig field is set. */ @java.lang.Override @@ -108,33 +143,49 @@ public boolean hasReportConfig() { return reportConfig_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportConfig. */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig() { - return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; + return reportConfig_ == null + ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() + : reportConfig_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder() { - return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; + return reportConfig_ == null + ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() + : reportConfig_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +203,7 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +212,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +238,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -203,6 +255,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,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 { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -235,12 +287,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (reportConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReportConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReportConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -253,25 +303,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.storageinsights.v1.UpdateReportConfigRequest)) { return super.equals(obj); } - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest other = (com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) obj; + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest other = + (com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasReportConfig() != other.hasReportConfig()) return false; if (hasReportConfig()) { - if (!getReportConfig() - .equals(other.getReportConfig())) return false; + if (!getReportConfig().equals(other.getReportConfig())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,131 +347,136 @@ public int hashCode() { } public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest 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.storageinsights.v1.UpdateReportConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 for updating a ReportConfig
    * 
* * Protobuf type {@code google.cloud.storageinsights.v1.UpdateReportConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.storageinsights.v1.UpdateReportConfigRequest) com.google.cloud.storageinsights.v1.UpdateReportConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.Builder.class); + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.Builder.class); } // Construct using com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,13 +496,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.storageinsights.v1.V1Proto.internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.storageinsights.v1.V1Proto + .internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest getDefaultInstanceForType() { + public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest + getDefaultInstanceForType() { return com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.getDefaultInstance(); } @@ -464,23 +518,24 @@ public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest build() { @java.lang.Override public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest buildPartial() { - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest result = new com.google.cloud.storageinsights.v1.UpdateReportConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest result = + new com.google.cloud.storageinsights.v1.UpdateReportConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest result) { + private void buildPartial0( + com.google.cloud.storageinsights.v1.UpdateReportConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.reportConfig_ = reportConfigBuilder_ == null - ? reportConfig_ - : reportConfigBuilder_.build(); + result.reportConfig_ = + reportConfigBuilder_ == null ? reportConfig_ : reportConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -491,38 +546,39 @@ private void buildPartial0(com.google.cloud.storageinsights.v1.UpdateReportConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.storageinsights.v1.UpdateReportConfigRequest) { - return mergeFrom((com.google.cloud.storageinsights.v1.UpdateReportConfigRequest)other); + return mergeFrom((com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -530,7 +586,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest other) { - if (other == com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -568,31 +626,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReportConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReportConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -602,12 +660,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -616,13 +680,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -631,17 +699,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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(); } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -650,7 +724,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -666,6 +741,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -674,10 +751,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -688,6 +765,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -696,13 +775,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -715,6 +795,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -723,7 +805,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -736,6 +819,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -744,7 +829,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -752,6 +838,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -760,17 +848,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * ReportConfig resource by the update.
@@ -779,17 +871,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; @@ -797,39 +893,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.storageinsights.v1.ReportConfig reportConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> reportConfigBuilder_; + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + reportConfigBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the reportConfig field is set. */ public boolean hasReportConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportConfig. */ public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig() { if (reportConfigBuilder_ == null) { - return reportConfig_ == null ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; + return reportConfig_ == null + ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() + : reportConfig_; } else { return reportConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReportConfig(com.google.cloud.storageinsights.v1.ReportConfig value) { if (reportConfigBuilder_ == null) { @@ -845,11 +960,15 @@ public Builder setReportConfig(com.google.cloud.storageinsights.v1.ReportConfig return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReportConfig( com.google.cloud.storageinsights.v1.ReportConfig.Builder builderForValue) { @@ -863,17 +982,22 @@ public Builder setReportConfig( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeReportConfig(com.google.cloud.storageinsights.v1.ReportConfig value) { if (reportConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - reportConfig_ != null && - reportConfig_ != com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && reportConfig_ != null + && reportConfig_ + != com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance()) { getReportConfigBuilder().mergeFrom(value); } else { reportConfig_ = value; @@ -886,11 +1010,15 @@ public Builder mergeReportConfig(com.google.cloud.storageinsights.v1.ReportConfi return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearReportConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -903,11 +1031,15 @@ public Builder clearReportConfig() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigBuilder() { bitField0_ |= 0x00000002; @@ -915,36 +1047,48 @@ public com.google.cloud.storageinsights.v1.ReportConfig.Builder getReportConfigB return getReportConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder() { if (reportConfigBuilder_ != null) { return reportConfigBuilder_.getMessageOrBuilder(); } else { - return reportConfig_ == null ? - com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() : reportConfig_; + return reportConfig_ == null + ? com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance() + : reportConfig_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder> getReportConfigFieldBuilder() { if (reportConfigBuilder_ == null) { - reportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.storageinsights.v1.ReportConfig, com.google.cloud.storageinsights.v1.ReportConfig.Builder, com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( - getReportConfig(), - getParentForChildren(), - isClean()); + reportConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.storageinsights.v1.ReportConfig, + com.google.cloud.storageinsights.v1.ReportConfig.Builder, + com.google.cloud.storageinsights.v1.ReportConfigOrBuilder>( + getReportConfig(), getParentForChildren(), isClean()); reportConfig_ = null; } return reportConfigBuilder_; @@ -952,6 +1096,8 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -969,13 +1115,13 @@ public com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfig
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -984,6 +1130,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1001,15 +1149,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1017,6 +1164,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1034,18 +1183,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1063,6 +1216,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1072,6 +1226,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1089,21 +1245,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; 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); } @@ -1113,12 +1271,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.storageinsights.v1.UpdateReportConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.storageinsights.v1.UpdateReportConfigRequest) - private static final com.google.cloud.storageinsights.v1.UpdateReportConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.storageinsights.v1.UpdateReportConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.storageinsights.v1.UpdateReportConfigRequest(); } @@ -1127,27 +1286,27 @@ public static com.google.cloud.storageinsights.v1.UpdateReportConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateReportConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateReportConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,6 +1321,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.storageinsights.v1.UpdateReportConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java index e847b2b88844..7ecc2a59cb5f 100644 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/UpdateReportConfigRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/storageinsights/v1/storageinsights.proto package com.google.cloud.storageinsights.v1; -public interface UpdateReportConfigRequestOrBuilder extends +public interface UpdateReportConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.UpdateReportConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateReportConfigRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateReportConfigRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * ReportConfig resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateReportConfigRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the reportConfig field is set. */ boolean hasReportConfig(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportConfig. */ com.google.cloud.storageinsights.v1.ReportConfig getReportConfig(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.storageinsights.v1.ReportConfig report_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.storageinsights.v1.ReportConfigOrBuilder getReportConfigOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +134,13 @@ public interface UpdateReportConfigRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,8 +158,8 @@ public interface UpdateReportConfigRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java new file mode 100644 index 000000000000..4dce956e64e7 --- /dev/null +++ b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java @@ -0,0 +1,511 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/storageinsights/v1/storageinsights.proto + +package com.google.cloud.storageinsights.v1; + +public final class V1Proto { + private V1Proto() {} + + 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_storageinsights_v1_ListReportConfigsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n5google/cloud/storageinsights/v1/storag" + + "einsights.proto\022\037google.cloud.storageins" + + "ights.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\032\037google/api/fiel" + + "d_behavior.proto\032\031google/api/resource.pr" + + "oto\032\033google/protobuf/empty.proto\032 google" + + "/protobuf/field_mask.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\032\026google/type/date.proto\032\032google/typ" + + "e/datetime.proto\"\251\001\n\030ListReportConfigsRe" + + "quest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+storagei" + + "nsights.googleapis.com/ReportConfig\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fi" + + "lter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\220\001\n\031ListRep" + + "ortConfigsResponse\022E\n\016report_configs\030\001 \003" + + "(\0132-.google.cloud.storageinsights.v1.Rep" + + "ortConfig\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013un" + + "reachable\030\003 \003(\t\"\\\n\026GetReportConfigReques" + + "t\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storageinsight" + + "s.googleapis.com/ReportConfig\"\307\001\n\031Create" + + "ReportConfigRequest\022D\n\006parent\030\001 \001(\tB4\342A\001" + + "\002\372A-\022+storageinsights.googleapis.com/Rep" + + "ortConfig\022J\n\rreport_config\030\003 \001(\0132-.googl" + + "e.cloud.storageinsights.v1.ReportConfigB" + + "\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\"\270\001\n\031Upda" + + "teReportConfigRequest\0225\n\013update_mask\030\001 \001" + + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\022J\n\r" + + "report_config\030\002 \001(\0132-.google.cloud.stora" + + "geinsights.v1.ReportConfigB\004\342A\001\002\022\030\n\nrequ" + + "est_id\030\003 \001(\tB\004\342A\001\001\"\216\001\n\031DeleteReportConfi" + + "gRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storage" + + "insights.googleapis.com/ReportConfig\022\023\n\005" + + "force\030\002 \001(\010B\004\342A\001\001\022\030\n\nrequest_id\030\003 \001(\tB\004\342" + + "A\001\001\"\343\004\n\014ReportDetail\022\014\n\004name\030\001 \001(\t\0221\n\rsn" + + "apshot_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\022\032\n\022report_path_prefix\030\010 \001(\t\022\024\n\014sha" + + "rds_count\030\t \001(\003\022\"\n\006status\030\004 \001(\0132\022.google" + + ".rpc.Status\022I\n\006labels\030\005 \003(\01329.google.clo" + + "ud.storageinsights.v1.ReportDetail.Label" + + "sEntry\022.\n\017target_datetime\030\006 \001(\0132\025.google" + + ".type.DateTime\022M\n\016report_metrics\030\007 \001(\01325" + + ".google.cloud.storageinsights.v1.ReportD" + + "etail.Metrics\032*\n\007Metrics\022\037\n\027processed_re" + + "cords_count\030\001 \001(\003\032-\n\013LabelsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\226\001\352A\222\001\n+storage" + + "insights.googleapis.com/ReportDetail\022cpr" + + "ojects/{project}/locations/{location}/re" + + "portConfigs/{report_config}/reportDetail" + + "s/{report_detail}\"\251\001\n\030ListReportDetailsR" + + "equest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+storage" + + "insights.googleapis.com/ReportDetail\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" + + "ilter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\220\001\n\031ListRe" + + "portDetailsResponse\022E\n\016report_details\030\001 " + + "\003(\0132-.google.cloud.storageinsights.v1.Re" + + "portDetail\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013u" + + "nreachable\030\003 \003(\t\"\\\n\026GetReportDetailReque" + + "st\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storageinsigh" + + "ts.googleapis.com/ReportDetail\"\207\002\n\021Opera" + + "tionMetadata\0225\n\013create_time\030\001 \001(\0132\032.goog" + + "le.protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030" + + "\002 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001" + + "\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026reque" + + "sted_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_ver" + + "sion\030\007 \001(\tB\004\342A\001\003\"\355\001\n\020FrequencyOptions\022N\n" + + "\tfrequency\030\001 \001(\0162;.google.cloud.storagei" + + "nsights.v1.FrequencyOptions.Frequency\022%\n" + + "\nstart_date\030\002 \001(\0132\021.google.type.Date\022#\n\010" + + "end_date\030\003 \001(\0132\021.google.type.Date\"=\n\tFre" + + "quency\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\t\n\005DAI" + + "LY\020\001\022\n\n\006WEEKLY\020\002\"R\n\nCSVOptions\022\030\n\020record" + + "_separator\030\001 \001(\t\022\021\n\tdelimiter\030\002 \001(\t\022\027\n\017h" + + "eader_required\030\003 \001(\010\"\020\n\016ParquetOptions\"%" + + "\n\023CloudStorageFilters\022\016\n\006bucket\030\001 \001(\t\"J\n" + + "\036CloudStorageDestinationOptions\022\016\n\006bucke" + + "t\030\001 \001(\t\022\030\n\020destination_path\030\002 \001(\t\"\220\002\n\033Ob" + + "jectMetadataReportOptions\022\027\n\017metadata_fi" + + "elds\030\001 \003(\t\022O\n\017storage_filters\030\002 \001(\01324.go" + + "ogle.cloud.storageinsights.v1.CloudStora" + + "geFiltersH\000\022f\n\033storage_destination_optio" + + "ns\030\003 \001(\0132?.google.cloud.storageinsights." + + "v1.CloudStorageDestinationOptionsH\001B\010\n\006f" + + "ilterB\025\n\023destination_options\"\371\005\n\014ReportC" + + "onfig\022\014\n\004name\030\001 \001(\t\0225\n\013create_time\030\002 \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013up" + + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "ampB\004\342A\001\003\022L\n\021frequency_options\030\005 \001(\01321.g" + + "oogle.cloud.storageinsights.v1.Frequency" + + "Options\022B\n\013csv_options\030\006 \001(\0132+.google.cl" + + "oud.storageinsights.v1.CSVOptionsH\000\022J\n\017p" + + "arquet_options\030\007 \001(\0132/.google.cloud.stor" + + "ageinsights.v1.ParquetOptionsH\000\022f\n\036objec" + + "t_metadata_report_options\030\010 \001(\0132<.google" + + ".cloud.storageinsights.v1.ObjectMetadata" + + "ReportOptionsH\001\022I\n\006labels\030\n \003(\01329.google" + + ".cloud.storageinsights.v1.ReportConfig.L" + + "abelsEntry\022\024\n\014display_name\030\013 \001(\t\032-\n\013Labe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:" + + "w\352At\n+storageinsights.googleapis.com/Rep" + + "ortConfig\022Eprojects/{project}/locations/" + + "{location}/reportConfigs/{report_config}" + + "B\017\n\rreport_formatB\r\n\013report_kind2\251\014\n\017Sto" + + "rageInsights\022\316\001\n\021ListReportConfigs\0229.goo" + + "gle.cloud.storageinsights.v1.ListReportC" + + "onfigsRequest\032:.google.cloud.storageinsi" + + "ghts.v1.ListReportConfigsResponse\"B\332A\006pa" + + "rent\202\323\344\223\0023\0221/v1/{parent=projects/*/locat" + + "ions/*}/reportConfigs\022\273\001\n\017GetReportConfi" + + "g\0227.google.cloud.storageinsights.v1.GetR" + + "eportConfigRequest\032-.google.cloud.storag" + + "einsights.v1.ReportConfig\"@\332A\004name\202\323\344\223\0023" + + "\0221/v1/{name=projects/*/locations/*/repor" + + "tConfigs/*}\022\340\001\n\022CreateReportConfig\022:.goo" + + "gle.cloud.storageinsights.v1.CreateRepor" + + "tConfigRequest\032-.google.cloud.storageins" + + "ights.v1.ReportConfig\"_\332A\024parent,report_" + + "config\202\323\344\223\002B\"1/v1/{parent=projects/*/loc" + + "ations/*}/reportConfigs:\rreport_config\022\363" + + "\001\n\022UpdateReportConfig\022:.google.cloud.sto" + + "rageinsights.v1.UpdateReportConfigReques" + + "t\032-.google.cloud.storageinsights.v1.Repo" + + "rtConfig\"r\332A\031report_config,update_mask\202\323" + + "\344\223\002P2?/v1/{report_config.name=projects/*" + + "/locations/*/reportConfigs/*}:\rreport_co" + + "nfig\022\252\001\n\022DeleteReportConfig\022:.google.clo" + + "ud.storageinsights.v1.DeleteReportConfig" + + "Request\032\026.google.protobuf.Empty\"@\332A\004name" + + "\202\323\344\223\0023*1/v1/{name=projects/*/locations/*" + + "/reportConfigs/*}\022\336\001\n\021ListReportDetails\022" + + "9.google.cloud.storageinsights.v1.ListRe" + + "portDetailsRequest\032:.google.cloud.storag" + + "einsights.v1.ListReportDetailsResponse\"R" + + "\332A\006parent\202\323\344\223\002C\022A/v1/{parent=projects/*/" + + "locations/*/reportConfigs/*}/reportDetai" + + "ls\022\313\001\n\017GetReportDetail\0227.google.cloud.st" + + "orageinsights.v1.GetReportDetailRequest\032" + + "-.google.cloud.storageinsights.v1.Report" + + "Detail\"P\332A\004name\202\323\344\223\002C\022A/v1/{name=project" + + "s/*/locations/*/reportConfigs/*/reportDe" + + "tails/*}\032R\312A\036storageinsights.googleapis." + + "com\322A.https://www.googleapis.com/auth/cl" + + "oud-platformB\350\001\n#com.google.cloud.storag" + + "einsights.v1B\007V1ProtoP\001ZMcloud.google.co" + + "m/go/storageinsights/apiv1/storageinsigh" + + "tspb;storageinsightspb\252\002\037Google.Cloud.St" + + "orageInsights.V1\312\002\037Google\\Cloud\\StorageI" + + "nsights\\V1\352\002\"Google::Cloud::StorageInsig" + + "hts::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.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + com.google.type.DateTimeProto.getDescriptor(), + }); + internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor, + new java.lang.String[] { + "ReportConfigs", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor, + new java.lang.String[] { + "Parent", "ReportConfig", "RequestId", + }); + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "ReportConfig", "RequestId", + }); + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor, + new java.lang.String[] { + "Name", "Force", "RequestId", + }); + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor, + new java.lang.String[] { + "Name", + "SnapshotTime", + "ReportPathPrefix", + "ShardsCount", + "Status", + "Labels", + "TargetDatetime", + "ReportMetrics", + }); + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor = + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor, + new java.lang.String[] { + "ProcessedRecordsCount", + }); + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor = + internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor, + new java.lang.String[] { + "ReportDetails", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + "EndTime", + "Target", + "Verb", + "StatusMessage", + "RequestedCancellation", + "ApiVersion", + }); + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor, + new java.lang.String[] { + "Frequency", "StartDate", "EndDate", + }); + internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor, + new java.lang.String[] { + "RecordSeparator", "Delimiter", "HeaderRequired", + }); + internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor, + new java.lang.String[] { + "Bucket", + }); + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor, + new java.lang.String[] { + "Bucket", "DestinationPath", + }); + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor, + new java.lang.String[] { + "MetadataFields", + "StorageFilters", + "StorageDestinationOptions", + "Filter", + "DestinationOptions", + }); + internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "FrequencyOptions", + "CsvOptions", + "ParquetOptions", + "ObjectMetadataReportOptions", + "Labels", + "DisplayName", + "ReportFormat", + "ReportKind", + }); + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor = + internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + 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.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.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + com.google.type.DateTimeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto b/java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto rename to java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/proto/google/cloud/storageinsights/v1/storageinsights.proto diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/AsyncCreateReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigLocationnameReportconfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/createreportconfig/SyncCreateReportConfigStringReportconfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/AsyncDeleteReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigReportconfigname.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/deletereportconfig/SyncDeleteReportConfigString.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/AsyncGetReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigReportconfigname.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportconfig/SyncGetReportConfigString.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/AsyncGetReportDetail.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetail.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailReportdetailname.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/getreportdetail/SyncGetReportDetailString.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigs.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/AsyncListReportConfigsPaged.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigs.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsLocationname.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportconfigs/SyncListReportConfigsString.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetails.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/AsyncListReportDetailsPaged.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetails.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsReportconfigname.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/listreportdetails/SyncListReportDetailsString.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/AsyncUpdateReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsights/updatereportconfig/SyncUpdateReportConfigReportconfigFieldmask.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/storageinsightssettings/getreportconfig/SyncGetReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java b/java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java similarity index 100% rename from owl-bot-staging/java-storageinsights/v1/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java rename to java-storageinsights/samples/snippets/generated/com/google/cloud/storageinsights/v1/stub/storageinsightsstubsettings/getreportconfig/SyncGetReportConfig.java diff --git a/owl-bot-staging/java-storageinsights/v1/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java b/owl-bot-staging/java-storageinsights/v1/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java deleted file mode 100644 index c7a82b3297f5..000000000000 --- a/owl-bot-staging/java-storageinsights/v1/grpc-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsGrpc.java +++ /dev/null @@ -1,839 +0,0 @@ -package com.google.cloud.storageinsights.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service describing handlers for resources
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/storageinsights/v1/storageinsights.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class StorageInsightsGrpc { - - private StorageInsightsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.storageinsights.v1.StorageInsights"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListReportConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListReportConfigs", - requestType = com.google.cloud.storageinsights.v1.ListReportConfigsRequest.class, - responseType = com.google.cloud.storageinsights.v1.ListReportConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListReportConfigsMethod() { - io.grpc.MethodDescriptor getListReportConfigsMethod; - if ((getListReportConfigsMethod = StorageInsightsGrpc.getListReportConfigsMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getListReportConfigsMethod = StorageInsightsGrpc.getListReportConfigsMethod) == null) { - StorageInsightsGrpc.getListReportConfigsMethod = getListReportConfigsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReportConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ListReportConfigsResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("ListReportConfigs")) - .build(); - } - } - } - return getListReportConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetReportConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetReportConfig", - requestType = com.google.cloud.storageinsights.v1.GetReportConfigRequest.class, - responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetReportConfigMethod() { - io.grpc.MethodDescriptor getGetReportConfigMethod; - if ((getGetReportConfigMethod = StorageInsightsGrpc.getGetReportConfigMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getGetReportConfigMethod = StorageInsightsGrpc.getGetReportConfigMethod) == null) { - StorageInsightsGrpc.getGetReportConfigMethod = getGetReportConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReportConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.GetReportConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance())) - .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("GetReportConfig")) - .build(); - } - } - } - return getGetReportConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateReportConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateReportConfig", - requestType = com.google.cloud.storageinsights.v1.CreateReportConfigRequest.class, - responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateReportConfigMethod() { - io.grpc.MethodDescriptor getCreateReportConfigMethod; - if ((getCreateReportConfigMethod = StorageInsightsGrpc.getCreateReportConfigMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getCreateReportConfigMethod = StorageInsightsGrpc.getCreateReportConfigMethod) == null) { - StorageInsightsGrpc.getCreateReportConfigMethod = getCreateReportConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReportConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance())) - .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("CreateReportConfig")) - .build(); - } - } - } - return getCreateReportConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateReportConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateReportConfig", - requestType = com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.class, - responseType = com.google.cloud.storageinsights.v1.ReportConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateReportConfigMethod() { - io.grpc.MethodDescriptor getUpdateReportConfigMethod; - if ((getUpdateReportConfigMethod = StorageInsightsGrpc.getUpdateReportConfigMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getUpdateReportConfigMethod = StorageInsightsGrpc.getUpdateReportConfigMethod) == null) { - StorageInsightsGrpc.getUpdateReportConfigMethod = getUpdateReportConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateReportConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ReportConfig.getDefaultInstance())) - .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("UpdateReportConfig")) - .build(); - } - } - } - return getUpdateReportConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteReportConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteReportConfig", - requestType = com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteReportConfigMethod() { - io.grpc.MethodDescriptor getDeleteReportConfigMethod; - if ((getDeleteReportConfigMethod = StorageInsightsGrpc.getDeleteReportConfigMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getDeleteReportConfigMethod = StorageInsightsGrpc.getDeleteReportConfigMethod) == null) { - StorageInsightsGrpc.getDeleteReportConfigMethod = getDeleteReportConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteReportConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("DeleteReportConfig")) - .build(); - } - } - } - return getDeleteReportConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getListReportDetailsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListReportDetails", - requestType = com.google.cloud.storageinsights.v1.ListReportDetailsRequest.class, - responseType = com.google.cloud.storageinsights.v1.ListReportDetailsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListReportDetailsMethod() { - io.grpc.MethodDescriptor getListReportDetailsMethod; - if ((getListReportDetailsMethod = StorageInsightsGrpc.getListReportDetailsMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getListReportDetailsMethod = StorageInsightsGrpc.getListReportDetailsMethod) == null) { - StorageInsightsGrpc.getListReportDetailsMethod = getListReportDetailsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReportDetails")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ListReportDetailsResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("ListReportDetails")) - .build(); - } - } - } - return getListReportDetailsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetReportDetailMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetReportDetail", - requestType = com.google.cloud.storageinsights.v1.GetReportDetailRequest.class, - responseType = com.google.cloud.storageinsights.v1.ReportDetail.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetReportDetailMethod() { - io.grpc.MethodDescriptor getGetReportDetailMethod; - if ((getGetReportDetailMethod = StorageInsightsGrpc.getGetReportDetailMethod) == null) { - synchronized (StorageInsightsGrpc.class) { - if ((getGetReportDetailMethod = StorageInsightsGrpc.getGetReportDetailMethod) == null) { - StorageInsightsGrpc.getGetReportDetailMethod = getGetReportDetailMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReportDetail")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.GetReportDetailRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.storageinsights.v1.ReportDetail.getDefaultInstance())) - .setSchemaDescriptor(new StorageInsightsMethodDescriptorSupplier("GetReportDetail")) - .build(); - } - } - } - return getGetReportDetailMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static StorageInsightsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageInsightsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsStub(channel, callOptions); - } - }; - return StorageInsightsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static StorageInsightsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageInsightsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsBlockingStub(channel, callOptions); - } - }; - return StorageInsightsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static StorageInsightsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageInsightsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsFutureStub(channel, callOptions); - } - }; - return StorageInsightsFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service describing handlers for resources
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Lists ReportConfigs in a given project and location.
-     * 
- */ - default void listReportConfigs(com.google.cloud.storageinsights.v1.ListReportConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListReportConfigsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single ReportConfig.
-     * 
- */ - default void getReportConfig(com.google.cloud.storageinsights.v1.GetReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetReportConfigMethod(), responseObserver); - } - - /** - *
-     * Creates a new ReportConfig in a given project and location.
-     * 
- */ - default void createReportConfig(com.google.cloud.storageinsights.v1.CreateReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReportConfigMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single ReportConfig.
-     * 
- */ - default void updateReportConfig(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateReportConfigMethod(), responseObserver); - } - - /** - *
-     * Deletes a single ReportConfig.
-     * 
- */ - default void deleteReportConfig(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteReportConfigMethod(), responseObserver); - } - - /** - *
-     * Lists ReportDetails in a given project and location.
-     * 
- */ - default void listReportDetails(com.google.cloud.storageinsights.v1.ListReportDetailsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListReportDetailsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single ReportDetail.
-     * 
- */ - default void getReportDetail(com.google.cloud.storageinsights.v1.GetReportDetailRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetReportDetailMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service StorageInsights. - *
-   * Service describing handlers for resources
-   * 
- */ - public static abstract class StorageInsightsImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return StorageInsightsGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service StorageInsights. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class StorageInsightsStub - extends io.grpc.stub.AbstractAsyncStub { - private StorageInsightsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageInsightsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsStub(channel, callOptions); - } - - /** - *
-     * Lists ReportConfigs in a given project and location.
-     * 
- */ - public void listReportConfigs(com.google.cloud.storageinsights.v1.ListReportConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListReportConfigsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single ReportConfig.
-     * 
- */ - public void getReportConfig(com.google.cloud.storageinsights.v1.GetReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetReportConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new ReportConfig in a given project and location.
-     * 
- */ - public void createReportConfig(com.google.cloud.storageinsights.v1.CreateReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateReportConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single ReportConfig.
-     * 
- */ - public void updateReportConfig(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateReportConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single ReportConfig.
-     * 
- */ - public void deleteReportConfig(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteReportConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists ReportDetails in a given project and location.
-     * 
- */ - public void listReportDetails(com.google.cloud.storageinsights.v1.ListReportDetailsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListReportDetailsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single ReportDetail.
-     * 
- */ - public void getReportDetail(com.google.cloud.storageinsights.v1.GetReportDetailRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetReportDetailMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service StorageInsights. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class StorageInsightsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private StorageInsightsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageInsightsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists ReportConfigs in a given project and location.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ListReportConfigsResponse listReportConfigs(com.google.cloud.storageinsights.v1.ListReportConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListReportConfigsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single ReportConfig.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ReportConfig getReportConfig(com.google.cloud.storageinsights.v1.GetReportConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetReportConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new ReportConfig in a given project and location.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ReportConfig createReportConfig(com.google.cloud.storageinsights.v1.CreateReportConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateReportConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single ReportConfig.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ReportConfig updateReportConfig(com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateReportConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single ReportConfig.
-     * 
- */ - public com.google.protobuf.Empty deleteReportConfig(com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteReportConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists ReportDetails in a given project and location.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ListReportDetailsResponse listReportDetails(com.google.cloud.storageinsights.v1.ListReportDetailsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListReportDetailsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single ReportDetail.
-     * 
- */ - public com.google.cloud.storageinsights.v1.ReportDetail getReportDetail(com.google.cloud.storageinsights.v1.GetReportDetailRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetReportDetailMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service StorageInsights. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class StorageInsightsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private StorageInsightsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageInsightsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageInsightsFutureStub(channel, callOptions); - } - - /** - *
-     * Lists ReportConfigs in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listReportConfigs( - com.google.cloud.storageinsights.v1.ListReportConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListReportConfigsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single ReportConfig.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getReportConfig( - com.google.cloud.storageinsights.v1.GetReportConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetReportConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new ReportConfig in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createReportConfig( - com.google.cloud.storageinsights.v1.CreateReportConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateReportConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single ReportConfig.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateReportConfig( - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateReportConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single ReportConfig.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteReportConfig( - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteReportConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists ReportDetails in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listReportDetails( - com.google.cloud.storageinsights.v1.ListReportDetailsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListReportDetailsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single ReportDetail.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getReportDetail( - com.google.cloud.storageinsights.v1.GetReportDetailRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetReportDetailMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_REPORT_CONFIGS = 0; - private static final int METHODID_GET_REPORT_CONFIG = 1; - private static final int METHODID_CREATE_REPORT_CONFIG = 2; - private static final int METHODID_UPDATE_REPORT_CONFIG = 3; - private static final int METHODID_DELETE_REPORT_CONFIG = 4; - private static final int METHODID_LIST_REPORT_DETAILS = 5; - private static final int METHODID_GET_REPORT_DETAIL = 6; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService 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_LIST_REPORT_CONFIGS: - serviceImpl.listReportConfigs((com.google.cloud.storageinsights.v1.ListReportConfigsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPORT_CONFIG: - serviceImpl.getReportConfig((com.google.cloud.storageinsights.v1.GetReportConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPORT_CONFIG: - serviceImpl.createReportConfig((com.google.cloud.storageinsights.v1.CreateReportConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPORT_CONFIG: - serviceImpl.updateReportConfig((com.google.cloud.storageinsights.v1.UpdateReportConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPORT_CONFIG: - serviceImpl.deleteReportConfig((com.google.cloud.storageinsights.v1.DeleteReportConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPORT_DETAILS: - serviceImpl.listReportDetails((com.google.cloud.storageinsights.v1.ListReportDetailsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPORT_DETAIL: - serviceImpl.getReportDetail((com.google.cloud.storageinsights.v1.GetReportDetailRequest) 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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListReportConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.ListReportConfigsRequest, - com.google.cloud.storageinsights.v1.ListReportConfigsResponse>( - service, METHODID_LIST_REPORT_CONFIGS))) - .addMethod( - getGetReportConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.GetReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig>( - service, METHODID_GET_REPORT_CONFIG))) - .addMethod( - getCreateReportConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.CreateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig>( - service, METHODID_CREATE_REPORT_CONFIG))) - .addMethod( - getUpdateReportConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.UpdateReportConfigRequest, - com.google.cloud.storageinsights.v1.ReportConfig>( - service, METHODID_UPDATE_REPORT_CONFIG))) - .addMethod( - getDeleteReportConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.DeleteReportConfigRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_REPORT_CONFIG))) - .addMethod( - getListReportDetailsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.ListReportDetailsRequest, - com.google.cloud.storageinsights.v1.ListReportDetailsResponse>( - service, METHODID_LIST_REPORT_DETAILS))) - .addMethod( - getGetReportDetailMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.storageinsights.v1.GetReportDetailRequest, - com.google.cloud.storageinsights.v1.ReportDetail>( - service, METHODID_GET_REPORT_DETAIL))) - .build(); - } - - private static abstract class StorageInsightsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - StorageInsightsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.storageinsights.v1.V1Proto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("StorageInsights"); - } - } - - private static final class StorageInsightsFileDescriptorSupplier - extends StorageInsightsBaseDescriptorSupplier { - StorageInsightsFileDescriptorSupplier() {} - } - - private static final class StorageInsightsMethodDescriptorSupplier - extends StorageInsightsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - StorageInsightsMethodDescriptorSupplier(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 (StorageInsightsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new StorageInsightsFileDescriptorSupplier()) - .addMethod(getListReportConfigsMethod()) - .addMethod(getGetReportConfigMethod()) - .addMethod(getCreateReportConfigMethod()) - .addMethod(getUpdateReportConfigMethod()) - .addMethod(getDeleteReportConfigMethod()) - .addMethod(getListReportDetailsMethod()) - .addMethod(getGetReportDetailMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java deleted file mode 100644 index b99087de9650..000000000000 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/CloudStorageFiltersOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public interface CloudStorageFiltersOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.CloudStorageFilters) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Bucket for which the report will be generated.
-   * 
- * - * string bucket = 1; - * @return The bucket. - */ - java.lang.String getBucket(); - /** - *
-   * Bucket for which the report will be generated.
-   * 
- * - * string bucket = 1; - * @return The bytes for bucket. - */ - com.google.protobuf.ByteString - getBucketBytes(); -} diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java deleted file mode 100644 index 836d78ceee60..000000000000 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportConfigRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public interface GetReportConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.GetReportConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * 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/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java deleted file mode 100644 index a24b1fbf30f0..000000000000 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/GetReportDetailRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public interface GetReportDetailRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.GetReportDetailRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * 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/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java deleted file mode 100644 index 747ba27a2f79..000000000000 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ParquetOptionsOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public interface ParquetOptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.storageinsights.v1.ParquetOptions) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java b/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java deleted file mode 100644 index 4197622c4145..000000000000 --- a/owl-bot-staging/java-storageinsights/v1/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/V1Proto.java +++ /dev/null @@ -1,445 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/storageinsights/v1/storageinsights.proto - -package com.google.cloud.storageinsights.v1; - -public final class V1Proto { - private V1Proto() {} - 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_storageinsights_v1_ListReportConfigsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n5google/cloud/storageinsights/v1/storag" + - "einsights.proto\022\037google.cloud.storageins" + - "ights.v1\032\034google/api/annotations.proto\032\027" + - "google/api/client.proto\032\037google/api/fiel" + - "d_behavior.proto\032\031google/api/resource.pr" + - "oto\032\033google/protobuf/empty.proto\032 google" + - "/protobuf/field_mask.proto\032\037google/proto" + - "buf/timestamp.proto\032\027google/rpc/status.p" + - "roto\032\026google/type/date.proto\032\032google/typ" + - "e/datetime.proto\"\251\001\n\030ListReportConfigsRe" + - "quest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+storagei" + - "nsights.googleapis.com/ReportConfig\022\021\n\tp" + - "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fi" + - "lter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\220\001\n\031ListRep" + - "ortConfigsResponse\022E\n\016report_configs\030\001 \003" + - "(\0132-.google.cloud.storageinsights.v1.Rep" + - "ortConfig\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013un" + - "reachable\030\003 \003(\t\"\\\n\026GetReportConfigReques" + - "t\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storageinsight" + - "s.googleapis.com/ReportConfig\"\307\001\n\031Create" + - "ReportConfigRequest\022D\n\006parent\030\001 \001(\tB4\342A\001" + - "\002\372A-\022+storageinsights.googleapis.com/Rep" + - "ortConfig\022J\n\rreport_config\030\003 \001(\0132-.googl" + - "e.cloud.storageinsights.v1.ReportConfigB" + - "\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\"\270\001\n\031Upda" + - "teReportConfigRequest\0225\n\013update_mask\030\001 \001" + - "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\022J\n\r" + - "report_config\030\002 \001(\0132-.google.cloud.stora" + - "geinsights.v1.ReportConfigB\004\342A\001\002\022\030\n\nrequ" + - "est_id\030\003 \001(\tB\004\342A\001\001\"\216\001\n\031DeleteReportConfi" + - "gRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storage" + - "insights.googleapis.com/ReportConfig\022\023\n\005" + - "force\030\002 \001(\010B\004\342A\001\001\022\030\n\nrequest_id\030\003 \001(\tB\004\342" + - "A\001\001\"\343\004\n\014ReportDetail\022\014\n\004name\030\001 \001(\t\0221\n\rsn" + - "apshot_time\030\002 \001(\0132\032.google.protobuf.Time" + - "stamp\022\032\n\022report_path_prefix\030\010 \001(\t\022\024\n\014sha" + - "rds_count\030\t \001(\003\022\"\n\006status\030\004 \001(\0132\022.google" + - ".rpc.Status\022I\n\006labels\030\005 \003(\01329.google.clo" + - "ud.storageinsights.v1.ReportDetail.Label" + - "sEntry\022.\n\017target_datetime\030\006 \001(\0132\025.google" + - ".type.DateTime\022M\n\016report_metrics\030\007 \001(\01325" + - ".google.cloud.storageinsights.v1.ReportD" + - "etail.Metrics\032*\n\007Metrics\022\037\n\027processed_re" + - "cords_count\030\001 \001(\003\032-\n\013LabelsEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\226\001\352A\222\001\n+storage" + - "insights.googleapis.com/ReportDetail\022cpr" + - "ojects/{project}/locations/{location}/re" + - "portConfigs/{report_config}/reportDetail" + - "s/{report_detail}\"\251\001\n\030ListReportDetailsR" + - "equest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+storage" + - "insights.googleapis.com/ReportDetail\022\021\n\t" + - "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" + - "ilter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\220\001\n\031ListRe" + - "portDetailsResponse\022E\n\016report_details\030\001 " + - "\003(\0132-.google.cloud.storageinsights.v1.Re" + - "portDetail\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013u" + - "nreachable\030\003 \003(\t\"\\\n\026GetReportDetailReque" + - "st\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+storageinsigh" + - "ts.googleapis.com/ReportDetail\"\207\002\n\021Opera" + - "tionMetadata\0225\n\013create_time\030\001 \001(\0132\032.goog" + - "le.protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030" + - "\002 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001" + - "\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026reque" + - "sted_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_ver" + - "sion\030\007 \001(\tB\004\342A\001\003\"\355\001\n\020FrequencyOptions\022N\n" + - "\tfrequency\030\001 \001(\0162;.google.cloud.storagei" + - "nsights.v1.FrequencyOptions.Frequency\022%\n" + - "\nstart_date\030\002 \001(\0132\021.google.type.Date\022#\n\010" + - "end_date\030\003 \001(\0132\021.google.type.Date\"=\n\tFre" + - "quency\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\t\n\005DAI" + - "LY\020\001\022\n\n\006WEEKLY\020\002\"R\n\nCSVOptions\022\030\n\020record" + - "_separator\030\001 \001(\t\022\021\n\tdelimiter\030\002 \001(\t\022\027\n\017h" + - "eader_required\030\003 \001(\010\"\020\n\016ParquetOptions\"%" + - "\n\023CloudStorageFilters\022\016\n\006bucket\030\001 \001(\t\"J\n" + - "\036CloudStorageDestinationOptions\022\016\n\006bucke" + - "t\030\001 \001(\t\022\030\n\020destination_path\030\002 \001(\t\"\220\002\n\033Ob" + - "jectMetadataReportOptions\022\027\n\017metadata_fi" + - "elds\030\001 \003(\t\022O\n\017storage_filters\030\002 \001(\01324.go" + - "ogle.cloud.storageinsights.v1.CloudStora" + - "geFiltersH\000\022f\n\033storage_destination_optio" + - "ns\030\003 \001(\0132?.google.cloud.storageinsights." + - "v1.CloudStorageDestinationOptionsH\001B\010\n\006f" + - "ilterB\025\n\023destination_options\"\371\005\n\014ReportC" + - "onfig\022\014\n\004name\030\001 \001(\t\0225\n\013create_time\030\002 \001(\013" + - "2\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013up" + - "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + - "ampB\004\342A\001\003\022L\n\021frequency_options\030\005 \001(\01321.g" + - "oogle.cloud.storageinsights.v1.Frequency" + - "Options\022B\n\013csv_options\030\006 \001(\0132+.google.cl" + - "oud.storageinsights.v1.CSVOptionsH\000\022J\n\017p" + - "arquet_options\030\007 \001(\0132/.google.cloud.stor" + - "ageinsights.v1.ParquetOptionsH\000\022f\n\036objec" + - "t_metadata_report_options\030\010 \001(\0132<.google" + - ".cloud.storageinsights.v1.ObjectMetadata" + - "ReportOptionsH\001\022I\n\006labels\030\n \003(\01329.google" + - ".cloud.storageinsights.v1.ReportConfig.L" + - "abelsEntry\022\024\n\014display_name\030\013 \001(\t\032-\n\013Labe" + - "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:" + - "w\352At\n+storageinsights.googleapis.com/Rep" + - "ortConfig\022Eprojects/{project}/locations/" + - "{location}/reportConfigs/{report_config}" + - "B\017\n\rreport_formatB\r\n\013report_kind2\251\014\n\017Sto" + - "rageInsights\022\316\001\n\021ListReportConfigs\0229.goo" + - "gle.cloud.storageinsights.v1.ListReportC" + - "onfigsRequest\032:.google.cloud.storageinsi" + - "ghts.v1.ListReportConfigsResponse\"B\332A\006pa" + - "rent\202\323\344\223\0023\0221/v1/{parent=projects/*/locat" + - "ions/*}/reportConfigs\022\273\001\n\017GetReportConfi" + - "g\0227.google.cloud.storageinsights.v1.GetR" + - "eportConfigRequest\032-.google.cloud.storag" + - "einsights.v1.ReportConfig\"@\332A\004name\202\323\344\223\0023" + - "\0221/v1/{name=projects/*/locations/*/repor" + - "tConfigs/*}\022\340\001\n\022CreateReportConfig\022:.goo" + - "gle.cloud.storageinsights.v1.CreateRepor" + - "tConfigRequest\032-.google.cloud.storageins" + - "ights.v1.ReportConfig\"_\332A\024parent,report_" + - "config\202\323\344\223\002B\"1/v1/{parent=projects/*/loc" + - "ations/*}/reportConfigs:\rreport_config\022\363" + - "\001\n\022UpdateReportConfig\022:.google.cloud.sto" + - "rageinsights.v1.UpdateReportConfigReques" + - "t\032-.google.cloud.storageinsights.v1.Repo" + - "rtConfig\"r\332A\031report_config,update_mask\202\323" + - "\344\223\002P2?/v1/{report_config.name=projects/*" + - "/locations/*/reportConfigs/*}:\rreport_co" + - "nfig\022\252\001\n\022DeleteReportConfig\022:.google.clo" + - "ud.storageinsights.v1.DeleteReportConfig" + - "Request\032\026.google.protobuf.Empty\"@\332A\004name" + - "\202\323\344\223\0023*1/v1/{name=projects/*/locations/*" + - "/reportConfigs/*}\022\336\001\n\021ListReportDetails\022" + - "9.google.cloud.storageinsights.v1.ListRe" + - "portDetailsRequest\032:.google.cloud.storag" + - "einsights.v1.ListReportDetailsResponse\"R" + - "\332A\006parent\202\323\344\223\002C\022A/v1/{parent=projects/*/" + - "locations/*/reportConfigs/*}/reportDetai" + - "ls\022\313\001\n\017GetReportDetail\0227.google.cloud.st" + - "orageinsights.v1.GetReportDetailRequest\032" + - "-.google.cloud.storageinsights.v1.Report" + - "Detail\"P\332A\004name\202\323\344\223\002C\022A/v1/{name=project" + - "s/*/locations/*/reportConfigs/*/reportDe" + - "tails/*}\032R\312A\036storageinsights.googleapis." + - "com\322A.https://www.googleapis.com/auth/cl" + - "oud-platformB\350\001\n#com.google.cloud.storag" + - "einsights.v1B\007V1ProtoP\001ZMcloud.google.co" + - "m/go/storageinsights/apiv1/storageinsigh" + - "tspb;storageinsightspb\252\002\037Google.Cloud.St" + - "orageInsights.V1\312\002\037Google\\Cloud\\StorageI" + - "nsights\\V1\352\002\"Google::Cloud::StorageInsig" + - "hts::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.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - }); - internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ListReportConfigsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ListReportConfigsResponse_descriptor, - new java.lang.String[] { "ReportConfigs", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_GetReportConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_CreateReportConfigRequest_descriptor, - new java.lang.String[] { "Parent", "ReportConfig", "RequestId", }); - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_UpdateReportConfigRequest_descriptor, - new java.lang.String[] { "UpdateMask", "ReportConfig", "RequestId", }); - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_DeleteReportConfigRequest_descriptor, - new java.lang.String[] { "Name", "Force", "RequestId", }); - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_storageinsights_v1_ReportDetail_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor, - new java.lang.String[] { "Name", "SnapshotTime", "ReportPathPrefix", "ShardsCount", "Status", "Labels", "TargetDatetime", "ReportMetrics", }); - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor = - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportDetail_Metrics_descriptor, - new java.lang.String[] { "ProcessedRecordsCount", }); - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor = - internal_static_google_cloud_storageinsights_v1_ReportDetail_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportDetail_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ListReportDetailsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ListReportDetailsResponse_descriptor, - new java.lang.String[] { "ReportDetails", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_GetReportDetailRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_storageinsights_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", }); - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_FrequencyOptions_descriptor, - new java.lang.String[] { "Frequency", "StartDate", "EndDate", }); - internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_storageinsights_v1_CSVOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_CSVOptions_descriptor, - new java.lang.String[] { "RecordSeparator", "Delimiter", "HeaderRequired", }); - internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_storageinsights_v1_ParquetOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ParquetOptions_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_CloudStorageFilters_descriptor, - new java.lang.String[] { "Bucket", }); - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_CloudStorageDestinationOptions_descriptor, - new java.lang.String[] { "Bucket", "DestinationPath", }); - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ObjectMetadataReportOptions_descriptor, - new java.lang.String[] { "MetadataFields", "StorageFilters", "StorageDestinationOptions", "Filter", "DestinationOptions", }); - internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_storageinsights_v1_ReportConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "FrequencyOptions", "CsvOptions", "ParquetOptions", "ObjectMetadataReportOptions", "Labels", "DisplayName", "ReportFormat", "ReportKind", }); - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor = - internal_static_google_cloud_storageinsights_v1_ReportConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_storageinsights_v1_ReportConfig_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - 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.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.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DateTimeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}