From ae80636acdc3fdbc4fde8f0e90e855e4404f94b5 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 16 Nov 2022 21:15:52 +0000 Subject: [PATCH] feat: added google.api.Service.publishing and client libraries settings feat: added google.api.JwtLocation.cookie feat: new fields in enum google.api.ErrorReason fix: deprecate google.api.Endpoint.aliases fix: deprecate google.api.BackendRule.min_deadline docs: minor updates to comments PiperOrigin-RevId: 488484261 Source-Link: https://github.com/googleapis/googleapis/commit/bd9aa78b34be407ec14cc429b553e9e601f5a2bf Source-Link: https://github.com/googleapis/googleapis-gen/commit/019a6095f9c08c339a15b88088bf9625c2cd1de0 Copy-Tag: eyJwIjoiamF2YS1zZXJ2aWNlLW1hbmFnZW1lbnQvLk93bEJvdC55YW1sIiwiaCI6IjAxOWE2MDk1ZjljMDhjMzM5YTE1Yjg4MDg4YmY5NjI1YzJjZDFkZTAifQ== --- .../v1/CreateServiceRequestOrBuilder.java | 66 - .../servicemanagement/v1/ResourcesProto.java | 270 --- .../v1/ServiceManagerProto.java | 449 ---- .../v1/ServiceManagerClient.java | 0 .../v1/ServiceManagerSettings.java | 1 + .../servicemanagement/v1/gapic_metadata.json | 0 .../servicemanagement/v1/package-info.java | 0 .../GrpcServiceManagerCallableFactory.java | 0 .../v1/stub/GrpcServiceManagerStub.java | 1 + ...HttpJsonServiceManagerCallableFactory.java | 0 .../v1/stub/HttpJsonServiceManagerStub.java | 1 + .../v1/stub/ServiceManagerStub.java | 0 .../v1/stub/ServiceManagerStubSettings.java | 0 .../v1/MockServiceManager.java | 0 .../v1/MockServiceManagerImpl.java | 0 .../v1/ServiceManagerClientHttpJsonTest.java | 3 + .../v1/ServiceManagerClientTest.java | 3 + .../v1/ServiceManagerGrpc.java | 1399 ++++-------- .../servicemanagement/v1/ChangeReport.java | 399 ++-- .../v1/ChangeReportOrBuilder.java | 37 +- .../api/servicemanagement/v1/ConfigFile.java | 516 ++--- .../v1/ConfigFileOrBuilder.java | 36 +- .../api/servicemanagement/v1/ConfigRef.java | 320 ++- .../v1/ConfigRefOrBuilder.java | 27 +- .../servicemanagement/v1/ConfigSource.java | 480 ++-- .../v1/ConfigSourceOrBuilder.java | 45 +- .../v1/CreateServiceConfigRequest.java | 453 ++-- .../CreateServiceConfigRequestOrBuilder.java | 35 +- .../v1/CreateServiceRequest.java | 388 ++-- .../v1/CreateServiceRequestOrBuilder.java | 36 + .../v1/CreateServiceRolloutRequest.java | 487 ++--- .../CreateServiceRolloutRequestOrBuilder.java | 47 +- .../v1/DeleteServiceRequest.java | 330 ++- .../v1/DeleteServiceRequestOrBuilder.java | 27 +- .../api/servicemanagement/v1/Diagnostic.java | 520 ++--- .../v1/DiagnosticOrBuilder.java | 42 +- .../v1/GenerateConfigReportRequest.java | 424 ++-- .../GenerateConfigReportRequestOrBuilder.java | 34 +- .../v1/GenerateConfigReportResponse.java | 713 +++--- ...GenerateConfigReportResponseOrBuilder.java | 72 +- .../v1/GetServiceConfigRequest.java | 549 ++--- .../v1/GetServiceConfigRequestOrBuilder.java | 42 +- .../v1/GetServiceRequest.java | 330 ++- .../v1/GetServiceRequestOrBuilder.java | 27 +- .../v1/GetServiceRolloutRequest.java | 416 ++-- .../v1/GetServiceRolloutRequestOrBuilder.java | 36 +- .../v1/ListServiceConfigsRequest.java | 451 ++-- .../ListServiceConfigsRequestOrBuilder.java | 39 +- .../v1/ListServiceConfigsResponse.java | 498 ++--- .../ListServiceConfigsResponseOrBuilder.java | 46 +- .../v1/ListServiceRolloutsRequest.java | 534 ++--- .../ListServiceRolloutsRequestOrBuilder.java | 48 +- .../v1/ListServiceRolloutsResponse.java | 503 ++--- .../ListServiceRolloutsResponseOrBuilder.java | 45 +- .../v1/ListServicesRequest.java | 538 ++--- .../v1/ListServicesRequestOrBuilder.java | 60 +- .../v1/ListServicesResponse.java | 470 ++-- .../v1/ListServicesResponseOrBuilder.java | 45 +- .../servicemanagement/v1/ManagedService.java | 406 ++-- .../v1/ManagedServiceOrBuilder.java | 36 +- .../v1/OperationMetadata.java | 1126 ++++------ .../v1/OperationMetadataOrBuilder.java | 65 +- .../servicemanagement/v1/ResourcesProto.java | 235 ++ .../api/servicemanagement/v1/Rollout.java | 1943 +++++++---------- .../v1/RolloutOrBuilder.java | 105 +- .../v1/ServiceManagerProto.java | 416 ++++ .../v1/SubmitConfigSourceRequest.java | 503 ++--- .../SubmitConfigSourceRequestOrBuilder.java | 50 +- .../v1/SubmitConfigSourceResponse.java | 350 ++- .../SubmitConfigSourceResponseOrBuilder.java | 26 +- .../v1/UndeleteServiceRequest.java | 330 ++- .../v1/UndeleteServiceRequestOrBuilder.java | 27 +- .../v1/UndeleteServiceResponse.java | 340 ++- .../v1/UndeleteServiceResponseOrBuilder.java | 26 +- .../api/servicemanagement/v1/resources.proto | 0 .../servicemanagement/v1/servicemanager.proto | 0 76 files changed, 7130 insertions(+), 11192 deletions(-) delete mode 100644 java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequestOrBuilder.java delete mode 100644 java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ResourcesProto.java delete mode 100644 java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerProto.java rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClient.java (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerSettings.java (99%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/gapic_metadata.json (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/package-info.java (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerCallableFactory.java (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerStub.java (99%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerCallableFactory.java (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerStub.java (99%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStub.java (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStubSettings.java (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManager.java (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManagerImpl.java (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java (99%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientTest.java (99%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/grpc-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerGrpc.java (50%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReport.java (76%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReportOrBuilder.java (76%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFile.java (70%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFileOrBuilder.java (65%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRef.java (65%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRefOrBuilder.java (52%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSource.java (73%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSourceOrBuilder.java (74%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequest.java (69%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequestOrBuilder.java (70%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequest.java (61%) create mode 100644 owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequestOrBuilder.java rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequest.java (64%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequestOrBuilder.java (58%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequest.java (68%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequestOrBuilder.java (59%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Diagnostic.java (69%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DiagnosticOrBuilder.java (64%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequest.java (76%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequestOrBuilder.java (83%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponse.java (75%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponseOrBuilder.java (78%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequest.java (70%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequestOrBuilder.java (73%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequest.java (67%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequestOrBuilder.java (56%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequest.java (69%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequestOrBuilder.java (64%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequest.java (69%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequestOrBuilder.java (66%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponse.java (71%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponseOrBuilder.java (60%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequest.java (72%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequestOrBuilder.java (75%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponse.java (70%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponseOrBuilder.java (65%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequest.java (70%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequestOrBuilder.java (64%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponse.java (73%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponseOrBuilder.java (70%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedService.java (68%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedServiceOrBuilder.java (61%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadata.java (73%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadataOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ResourcesProto.java rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Rollout.java (67%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/RolloutOrBuilder.java (73%) create mode 100644 owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerProto.java rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequest.java (66%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequestOrBuilder.java (62%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponse.java (66%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponseOrBuilder.java (58%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequest.java (68%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequestOrBuilder.java (59%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponse.java (66%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponseOrBuilder.java (59%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/resources.proto (100%) rename {java-service-management => owl-bot-staging/java-service-management/v1}/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/servicemanager.proto (100%) diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequestOrBuilder.java b/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequestOrBuilder.java deleted file mode 100644 index 78e9e4929932..000000000000 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequestOrBuilder.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/api/servicemanagement/v1/servicemanager.proto - -package com.google.api.servicemanagement.v1; - -public interface CreateServiceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.CreateServiceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Initial values for the service resource.
-   * 
- * - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the service field is set. - */ - boolean hasService(); - /** - * - * - *
-   * Required. Initial values for the service resource.
-   * 
- * - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The service. - */ - com.google.api.servicemanagement.v1.ManagedService getService(); - /** - * - * - *
-   * Required. Initial values for the service resource.
-   * 
- * - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServiceOrBuilder(); -} diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ResourcesProto.java b/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ResourcesProto.java deleted file mode 100644 index cde42896d7e0..000000000000 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ResourcesProto.java +++ /dev/null @@ -1,270 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/api/servicemanagement/v1/resources.proto - -package com.google.api.servicemanagement.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - - 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_api_servicemanagement_v1_ManagedService_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ManagedService_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_Diagnostic_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ConfigSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ConfigFile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ConfigRef_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ChangeReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_Rollout_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_Rollout_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/api/servicemanagement/v1/resour" - + "ces.proto\022\037google.api.servicemanagement." - + "v1\032\036google/api/config_change.proto\032\037goog" - + "le/api/field_behavior.proto\032\037google/prot" - + "obuf/timestamp.proto\"C\n\016ManagedService\022\024" - + "\n\014service_name\030\002 \001(\t\022\033\n\023producer_project" - + "_id\030\003 \001(\t\"\221\003\n\021OperationMetadata\022\026\n\016resou" - + "rce_names\030\001 \003(\t\022F\n\005steps\030\002 \003(\01327.google." - + "api.servicemanagement.v1.OperationMetada" - + "ta.Step\022\033\n\023progress_percentage\030\003 \001(\005\022.\n\n" - + "start_time\030\004 \001(\0132\032.google.protobuf.Times" - + "tamp\032f\n\004Step\022\023\n\013description\030\002 \001(\t\022I\n\006sta" - + "tus\030\004 \001(\01629.google.api.servicemanagement" - + ".v1.OperationMetadata.Status\"g\n\006Status\022\026" - + "\n\022STATUS_UNSPECIFIED\020\000\022\010\n\004DONE\020\001\022\017\n\013NOT_" - + "STARTED\020\002\022\017\n\013IN_PROGRESS\020\003\022\n\n\006FAILED\020\004\022\r" - + "\n\tCANCELLED\020\005\"\217\001\n\nDiagnostic\022\020\n\010location" - + "\030\001 \001(\t\022>\n\004kind\030\002 \001(\01620.google.api.servic" - + "emanagement.v1.Diagnostic.Kind\022\017\n\007messag" - + "e\030\003 \001(\t\"\036\n\004Kind\022\013\n\007WARNING\020\000\022\t\n\005ERROR\020\001\"" - + "V\n\014ConfigSource\022\n\n\002id\030\005 \001(\t\022:\n\005files\030\002 \003" - + "(\0132+.google.api.servicemanagement.v1.Con" - + "figFile\"\225\002\n\nConfigFile\022\021\n\tfile_path\030\001 \001(" - + "\t\022\025\n\rfile_contents\030\003 \001(\014\022G\n\tfile_type\030\004 " - + "\001(\01624.google.api.servicemanagement.v1.Co" - + "nfigFile.FileType\"\223\001\n\010FileType\022\031\n\025FILE_T" - + "YPE_UNSPECIFIED\020\000\022\027\n\023SERVICE_CONFIG_YAML" - + "\020\001\022\021\n\rOPEN_API_JSON\020\002\022\021\n\rOPEN_API_YAML\020\003" - + "\022\035\n\031FILE_DESCRIPTOR_SET_PROTO\020\004\022\016\n\nPROTO" - + "_FILE\020\006\"\031\n\tConfigRef\022\014\n\004name\030\001 \001(\t\"@\n\014Ch" - + "angeReport\0220\n\016config_changes\030\001 \003(\0132\030.goo" - + "gle.api.ConfigChange\"\371\005\n\007Rollout\022\027\n\nroll" - + "out_id\030\001 \001(\tB\003\340A\001\022/\n\013create_time\030\002 \001(\0132\032" - + ".google.protobuf.Timestamp\022\022\n\ncreated_by" - + "\030\003 \001(\t\022F\n\006status\030\004 \001(\01626.google.api.serv" - + "icemanagement.v1.Rollout.RolloutStatus\022c" - + "\n\030traffic_percent_strategy\030\005 \001(\0132?.googl" - + "e.api.servicemanagement.v1.Rollout.Traff" - + "icPercentStrategyH\000\022b\n\027delete_service_st" - + "rategy\030\310\001 \001(\0132>.google.api.servicemanage" - + "ment.v1.Rollout.DeleteServiceStrategyH\000\022" - + "\024\n\014service_name\030\010 \001(\t\032\263\001\n\026TrafficPercent" - + "Strategy\022e\n\013percentages\030\001 \003(\0132P.google.a" - + "pi.servicemanagement.v1.Rollout.TrafficP" - + "ercentStrategy.PercentagesEntry\0322\n\020Perce" - + "ntagesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:" - + "\0028\001\032\027\n\025DeleteServiceStrategy\"\215\001\n\rRollout" - + "Status\022\036\n\032ROLLOUT_STATUS_UNSPECIFIED\020\000\022\017" - + "\n\013IN_PROGRESS\020\001\022\013\n\007SUCCESS\020\002\022\r\n\tCANCELLE" - + "D\020\003\022\n\n\006FAILED\020\004\022\013\n\007PENDING\020\005\022\026\n\022FAILED_R" - + "OLLED_BACK\020\006B\n\n\010strategyB\377\001\n#com.google." - + "api.servicemanagement.v1B\016ResourcesProto" - + "P\001ZPgoogle.golang.org/genproto/googleapi" - + "s/api/servicemanagement/v1;servicemanage" - + "ment\242\002\004GASM\252\002!Google.Cloud.ServiceManage" - + "ment.V1\312\002!Google\\Cloud\\ServiceManagement" - + "\\V1\352\002$Google::Cloud::ServiceManagement::" - + "V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ConfigChangeProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_api_servicemanagement_v1_ManagedService_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_api_servicemanagement_v1_ManagedService_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ManagedService_descriptor, - new java.lang.String[] { - "ServiceName", "ProducerProjectId", - }); - internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_api_servicemanagement_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "ResourceNames", "Steps", "ProgressPercentage", "StartTime", - }); - internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor = - internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor, - new java.lang.String[] { - "Description", "Status", - }); - internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_api_servicemanagement_v1_Diagnostic_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor, - new java.lang.String[] { - "Location", "Kind", "Message", - }); - internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_api_servicemanagement_v1_ConfigSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor, - new java.lang.String[] { - "Id", "Files", - }); - internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_api_servicemanagement_v1_ConfigFile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor, - new java.lang.String[] { - "FilePath", "FileContents", "FileType", - }); - internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_api_servicemanagement_v1_ConfigRef_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_api_servicemanagement_v1_ChangeReport_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor, - new java.lang.String[] { - "ConfigChanges", - }); - internal_static_google_api_servicemanagement_v1_Rollout_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_api_servicemanagement_v1_Rollout_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_Rollout_descriptor, - new java.lang.String[] { - "RolloutId", - "CreateTime", - "CreatedBy", - "Status", - "TrafficPercentStrategy", - "DeleteServiceStrategy", - "ServiceName", - "Strategy", - }); - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor = - internal_static_google_api_servicemanagement_v1_Rollout_descriptor.getNestedTypes().get(0); - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor, - new java.lang.String[] { - "Percentages", - }); - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_descriptor = - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor = - internal_static_google_api_servicemanagement_v1_Rollout_descriptor.getNestedTypes().get(1); - internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ConfigChangeProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerProto.java b/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerProto.java deleted file mode 100644 index da848ebc97bb..000000000000 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerProto.java +++ /dev/null @@ -1,449 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/api/servicemanagement/v1/servicemanager.proto - -package com.google.api.servicemanagement.v1; - -public final class ServiceManagerProto { - private ServiceManagerProto() {} - - 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_api_servicemanagement_v1_ListServicesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ListServicesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ListServicesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_GetServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_CreateServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/api/servicemanagement/v1/servic" - + "emanager.proto\022\037google.api.servicemanage" - + "ment.v1\032\034google/api/annotations.proto\032\027g" - + "oogle/api/client.proto\032\037google/api/field" - + "_behavior.proto\032\030google/api/service.prot" - + "o\032/google/api/servicemanagement/v1/resou" - + "rces.proto\032#google/longrunning/operation" - + "s.proto\032\031google/protobuf/any.proto\"r\n\023Li" - + "stServicesRequest\022\033\n\023producer_project_id" - + "\030\001 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030" - + "\006 \001(\t\022\027\n\013consumer_id\030\007 \001(\tB\002\030\001\"r\n\024ListSe" - + "rvicesResponse\022A\n\010services\030\001 \003(\0132/.googl" - + "e.api.servicemanagement.v1.ManagedServic" - + "e\022\027\n\017next_page_token\030\002 \001(\t\".\n\021GetService" - + "Request\022\031\n\014service_name\030\001 \001(\tB\003\340A\002\"]\n\024Cr" - + "eateServiceRequest\022E\n\007service\030\001 \001(\0132/.go" - + "ogle.api.servicemanagement.v1.ManagedSer" - + "viceB\003\340A\002\"1\n\024DeleteServiceRequest\022\031\n\014ser" - + "vice_name\030\001 \001(\tB\003\340A\002\"3\n\026UndeleteServiceR" - + "equest\022\031\n\014service_name\030\001 \001(\tB\003\340A\002\"[\n\027Und" - + "eleteServiceResponse\022@\n\007service\030\001 \001(\0132/." - + "google.api.servicemanagement.v1.ManagedS" - + "ervice\"\302\001\n\027GetServiceConfigRequest\022\031\n\014se" - + "rvice_name\030\001 \001(\tB\003\340A\002\022\026\n\tconfig_id\030\002 \001(\t" - + "B\003\340A\002\022Q\n\004view\030\003 \001(\0162C.google.api.service" - + "management.v1.GetServiceConfigRequest.Co" - + "nfigView\"!\n\nConfigView\022\t\n\005BASIC\020\000\022\010\n\004FUL" - + "L\020\001\"]\n\031ListServiceConfigsRequest\022\031\n\014serv" - + "ice_name\030\001 \001(\tB\003\340A\002\022\022\n\npage_token\030\002 \001(\t\022" - + "\021\n\tpage_size\030\003 \001(\005\"c\n\032ListServiceConfigs" - + "Response\022,\n\017service_configs\030\001 \003(\0132\023.goog" - + "le.api.Service\022\027\n\017next_page_token\030\002 \001(\t\"" - + "i\n\032CreateServiceConfigRequest\022\031\n\014service" - + "_name\030\001 \001(\tB\003\340A\002\0220\n\016service_config\030\002 \001(\013" - + "2\023.google.api.ServiceB\003\340A\002\"\235\001\n\031SubmitCon" - + "figSourceRequest\022\031\n\014service_name\030\001 \001(\tB\003" - + "\340A\002\022I\n\rconfig_source\030\002 \001(\0132-.google.api." - + "servicemanagement.v1.ConfigSourceB\003\340A\002\022\032" - + "\n\rvalidate_only\030\003 \001(\010B\003\340A\001\"I\n\032SubmitConf" - + "igSourceResponse\022+\n\016service_config\030\001 \001(\013" - + "2\023.google.api.Service\"x\n\033CreateServiceRo" - + "lloutRequest\022\031\n\014service_name\030\001 \001(\tB\003\340A\002\022" - + ">\n\007rollout\030\002 \001(\0132(.google.api.serviceman" - + "agement.v1.RolloutB\003\340A\002\"s\n\032ListServiceRo" - + "lloutsRequest\022\031\n\014service_name\030\001 \001(\tB\003\340A\002" - + "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" - + "\023\n\006filter\030\004 \001(\tB\003\340A\002\"r\n\033ListServiceRollo" - + "utsResponse\022:\n\010rollouts\030\001 \003(\0132(.google.a" - + "pi.servicemanagement.v1.Rollout\022\027\n\017next_" - + "page_token\030\002 \001(\t\"N\n\030GetServiceRolloutReq" - + "uest\022\031\n\014service_name\030\001 \001(\tB\003\340A\002\022\027\n\nrollo" - + "ut_id\030\002 \001(\tB\003\340A\002\"{\n\033GenerateConfigReport" - + "Request\022-\n\nnew_config\030\001 \001(\0132\024.google.pro" - + "tobuf.AnyB\003\340A\002\022-\n\nold_config\030\002 \001(\0132\024.goo" - + "gle.protobuf.AnyB\003\340A\001\"\311\001\n\034GenerateConfig" - + "ReportResponse\022\024\n\014service_name\030\001 \001(\t\022\n\n\002" - + "id\030\002 \001(\t\022E\n\016change_reports\030\003 \003(\0132-.googl" - + "e.api.servicemanagement.v1.ChangeReport\022" - + "@\n\013diagnostics\030\004 \003(\0132+.google.api.servic" - + "emanagement.v1.Diagnostic2\310\031\n\016ServiceMan" - + "ager\022\263\001\n\014ListServices\0224.google.api.servi" - + "cemanagement.v1.ListServicesRequest\0325.go" - + "ogle.api.servicemanagement.v1.ListServic" - + "esResponse\"6\202\323\344\223\002\016\022\014/v1/services\332A\037produ" - + "cer_project_id,consumer_id\022\245\001\n\nGetServic" - + "e\0222.google.api.servicemanagement.v1.GetS" - + "erviceRequest\032/.google.api.servicemanage" - + "ment.v1.ManagedService\"2\202\323\344\223\002\035\022\033/v1/serv" - + "ices/{service_name}\332A\014service_name\022\365\001\n\rC" - + "reateService\0225.google.api.servicemanagem" - + "ent.v1.CreateServiceRequest\032\035.google.lon" - + "grunning.Operation\"\215\001\202\323\344\223\002\027\"\014/v1/service" - + "s:\007service\332A\007service\312Ac\n.google.api.serv" - + "icemanagement.v1.ManagedService\0221google." - + "api.servicemanagement.v1.OperationMetada" - + "ta\022\346\001\n\rDeleteService\0225.google.api.servic" - + "emanagement.v1.DeleteServiceRequest\032\035.go" - + "ogle.longrunning.Operation\"\177\202\323\344\223\002\035*\033/v1/" - + "services/{service_name}\332A\014service_name\312A" - + "J\n\025google.protobuf.Empty\0221google.api.ser" - + "vicemanagement.v1.OperationMetadata\022\226\002\n\017" - + "UndeleteService\0227.google.api.servicemana" - + "gement.v1.UndeleteServiceRequest\032\035.googl" - + "e.longrunning.Operation\"\252\001\202\323\344\223\002&\"$/v1/se" - + "rvices/{service_name}:undelete\332A\014service" - + "_name\312Al\n7google.api.servicemanagement.v" - + "1.UndeleteServiceResponse\0221google.api.se" - + "rvicemanagement.v1.OperationMetadata\022\311\001\n" - + "\022ListServiceConfigs\022:.google.api.service" - + "management.v1.ListServiceConfigsRequest\032" - + ";.google.api.servicemanagement.v1.ListSe" - + "rviceConfigsResponse\":\202\323\344\223\002%\022#/v1/servic" - + "es/{service_name}/configs\332A\014service_name" - + "\022\336\001\n\020GetServiceConfig\0228.google.api.servi" - + "cemanagement.v1.GetServiceConfigRequest\032" - + "\023.google.api.Service\"{\202\323\344\223\002W\022//v1/servic" - + "es/{service_name}/configs/{config_id}Z$\022" - + "\"/v1/services/{service_name}/config\332A\033se" - + "rvice_name,config_id,view\022\302\001\n\023CreateServ" - + "iceConfig\022;.google.api.servicemanagement" - + ".v1.CreateServiceConfigRequest\032\023.google." - + "api.Service\"Y\202\323\344\223\0025\"#/v1/services/{servi" - + "ce_name}/configs:\016service_config\332A\033servi" - + "ce_name,service_config\022\304\002\n\022SubmitConfigS" - + "ource\022:.google.api.servicemanagement.v1." - + "SubmitConfigSourceRequest\032\035.google.longr" - + "unning.Operation\"\322\001\202\323\344\223\002/\"*/v1/services/" - + "{service_name}/configs:submit:\001*\332A(servi" - + "ce_name,config_source,validate_only\312Ao\n:" - + "google.api.servicemanagement.v1.SubmitCo" - + "nfigSourceResponse\0221google.api.servicema" - + "nagement.v1.OperationMetadata\022\324\001\n\023ListSe" - + "rviceRollouts\022;.google.api.servicemanage" - + "ment.v1.ListServiceRolloutsRequest\032<.goo" - + "gle.api.servicemanagement.v1.ListService" - + "RolloutsResponse\"B\202\323\344\223\002&\022$/v1/services/{" - + "service_name}/rollouts\332A\023service_name,fi" - + "lter\022\315\001\n\021GetServiceRollout\0229.google.api." - + "servicemanagement.v1.GetServiceRolloutRe" - + "quest\032(.google.api.servicemanagement.v1." - + "Rollout\"S\202\323\344\223\0023\0221/v1/services/{service_n" - + "ame}/rollouts/{rollout_id}\332A\027service_nam" - + "e,rollout_id\022\241\002\n\024CreateServiceRollout\022<." - + "google.api.servicemanagement.v1.CreateSe" - + "rviceRolloutRequest\032\035.google.longrunning" - + ".Operation\"\253\001\202\323\344\223\002/\"$/v1/services/{servi" - + "ce_name}/rollouts:\007rollout\332A\024service_nam" - + "e,rollout\312A\\\n\'google.api.servicemanageme" - + "nt.v1.Rollout\0221google.api.servicemanagem" - + "ent.v1.OperationMetadata\022\331\001\n\024GenerateCon" - + "figReport\022<.google.api.servicemanagement" - + ".v1.GenerateConfigReportRequest\032=.google" - + ".api.servicemanagement.v1.GenerateConfig" - + "ReportResponse\"D\202\323\344\223\002&\"!/v1/services:gen" - + "erateConfigReport:\001*\332A\025new_config,old_co" - + "nfig\032\375\001\312A servicemanagement.googleapis.c" - + "om\322A\326\001https://www.googleapis.com/auth/cl" - + "oud-platform,https://www.googleapis.com/" - + "auth/cloud-platform.read-only,https://ww" - + "w.googleapis.com/auth/service.management" - + ",https://www.googleapis.com/auth/service" - + ".management.readonlyB\204\002\n#com.google.api." - + "servicemanagement.v1B\023ServiceManagerProt" - + "oP\001ZPgoogle.golang.org/genproto/googleap" - + "is/api/servicemanagement/v1;servicemanag" - + "ement\242\002\004GASM\252\002!Google.Cloud.ServiceManag" - + "ement.V1\312\002!Google\\Cloud\\ServiceManagemen" - + "t\\V1\352\002$Google::Cloud::ServiceManagement:" - + ":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.ServiceProto.getDescriptor(), - com.google.api.servicemanagement.v1.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - }); - internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_api_servicemanagement_v1_ListServicesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor, - new java.lang.String[] { - "ProducerProjectId", "PageSize", "PageToken", "ConsumerId", - }); - internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_api_servicemanagement_v1_ListServicesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor, - new java.lang.String[] { - "Services", "NextPageToken", - }); - internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_api_servicemanagement_v1_GetServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor, - new java.lang.String[] { - "ServiceName", - }); - internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_api_servicemanagement_v1_CreateServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor, - new java.lang.String[] { - "Service", - }); - internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor, - new java.lang.String[] { - "ServiceName", - }); - internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor, - new java.lang.String[] { - "ServiceName", - }); - internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor, - new java.lang.String[] { - "Service", - }); - internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor, - new java.lang.String[] { - "ServiceName", "ConfigId", "View", - }); - internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor, - new java.lang.String[] { - "ServiceName", "PageToken", "PageSize", - }); - internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor, - new java.lang.String[] { - "ServiceConfigs", "NextPageToken", - }); - internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor, - new java.lang.String[] { - "ServiceName", "ServiceConfig", - }); - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor, - new java.lang.String[] { - "ServiceName", "ConfigSource", "ValidateOnly", - }); - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor, - new java.lang.String[] { - "ServiceConfig", - }); - internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor, - new java.lang.String[] { - "ServiceName", "Rollout", - }); - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor, - new java.lang.String[] { - "ServiceName", "PageToken", "PageSize", "Filter", - }); - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor, - new java.lang.String[] { - "Rollouts", "NextPageToken", - }); - internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor, - new java.lang.String[] { - "ServiceName", "RolloutId", - }); - internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor, - new java.lang.String[] { - "NewConfig", "OldConfig", - }); - internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor, - new java.lang.String[] { - "ServiceName", "Id", "ChangeReports", "Diagnostics", - }); - 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.longrunning.OperationsProto.operationInfo); - 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.ServiceProto.getDescriptor(); - com.google.api.servicemanagement.v1.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClient.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClient.java similarity index 100% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClient.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClient.java diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerSettings.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerSettings.java similarity index 99% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerSettings.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerSettings.java index fb9981f0722d..d3e86acb6ed5 100644 --- a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerSettings.java +++ b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.api.servicemanagement.v1.CreateServiceConfigRequest; diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/gapic_metadata.json b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/gapic_metadata.json similarity index 100% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/gapic_metadata.json rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/gapic_metadata.json diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/package-info.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/package-info.java similarity index 100% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/package-info.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/package-info.java diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerCallableFactory.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerCallableFactory.java similarity index 100% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerCallableFactory.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerCallableFactory.java diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerStub.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerStub.java similarity index 99% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerStub.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerStub.java index 47c27f1e6907..5d12dd761e4d 100644 --- a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerStub.java +++ b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/GrpcServiceManagerStub.java @@ -57,6 +57,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-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerCallableFactory.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerCallableFactory.java similarity index 100% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerCallableFactory.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerCallableFactory.java diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerStub.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerStub.java similarity index 99% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerStub.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerStub.java index b3156c79834a..4ec1b00f02d0 100644 --- a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerStub.java +++ b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/HttpJsonServiceManagerStub.java @@ -33,6 +33,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStub.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStub.java similarity index 100% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStub.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStub.java diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStubSettings.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStubSettings.java similarity index 100% rename from java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStubSettings.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/ServiceManagerStubSettings.java diff --git a/java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManager.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManager.java similarity index 100% rename from java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManager.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManager.java diff --git a/java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManagerImpl.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManagerImpl.java similarity index 100% rename from java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManagerImpl.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/MockServiceManagerImpl.java diff --git a/java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java similarity index 99% rename from java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java index 1f8abc45f08c..7806202d886b 100644 --- a/java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java +++ b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java @@ -33,6 +33,7 @@ import com.google.api.MetricDescriptor; import com.google.api.MonitoredResourceDescriptor; import com.google.api.Monitoring; +import com.google.api.Publishing; import com.google.api.Quota; import com.google.api.Service; import com.google.api.SourceInfo; @@ -437,6 +438,7 @@ public void getServiceConfigTest() throws Exception { .setMonitoring(Monitoring.newBuilder().build()) .setSystemParameters(SystemParameters.newBuilder().build()) .setSourceInfo(SourceInfo.newBuilder().build()) + .setPublishing(Publishing.newBuilder().build()) .setConfigVersion(UInt32Value.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -509,6 +511,7 @@ public void createServiceConfigTest() throws Exception { .setMonitoring(Monitoring.newBuilder().build()) .setSystemParameters(SystemParameters.newBuilder().build()) .setSourceInfo(SourceInfo.newBuilder().build()) + .setPublishing(Publishing.newBuilder().build()) .setConfigVersion(UInt32Value.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); diff --git a/java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientTest.java b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientTest.java similarity index 99% rename from java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientTest.java rename to owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientTest.java index 506b657a0d16..4475d9b77260 100644 --- a/java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientTest.java +++ b/owl-bot-staging/java-service-management/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientTest.java @@ -33,6 +33,7 @@ import com.google.api.MetricDescriptor; import com.google.api.MonitoredResourceDescriptor; import com.google.api.Monitoring; +import com.google.api.Publishing; import com.google.api.Quota; import com.google.api.Service; import com.google.api.SourceInfo; @@ -427,6 +428,7 @@ public void getServiceConfigTest() throws Exception { .setMonitoring(Monitoring.newBuilder().build()) .setSystemParameters(SystemParameters.newBuilder().build()) .setSourceInfo(SourceInfo.newBuilder().build()) + .setPublishing(Publishing.newBuilder().build()) .setConfigVersion(UInt32Value.newBuilder().build()) .build(); mockServiceManager.addResponse(expectedResponse); @@ -495,6 +497,7 @@ public void createServiceConfigTest() throws Exception { .setMonitoring(Monitoring.newBuilder().build()) .setSystemParameters(SystemParameters.newBuilder().build()) .setSourceInfo(SourceInfo.newBuilder().build()) + .setPublishing(Publishing.newBuilder().build()) .setConfigVersion(UInt32Value.newBuilder().build()) .build(); mockServiceManager.addResponse(expectedResponse); diff --git a/java-service-management/grpc-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerGrpc.java b/owl-bot-staging/java-service-management/v1/grpc-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerGrpc.java similarity index 50% rename from java-service-management/grpc-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerGrpc.java rename to owl-bot-staging/java-service-management/v1/grpc-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerGrpc.java index e0e4ab47f1e7..fc31718f9bdb 100644 --- a/java-service-management/grpc-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerGrpc.java +++ b/owl-bot-staging/java-service-management/v1/grpc-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.api.servicemanagement.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * [Google Service Management
  * API](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -36,668 +19,462 @@ private ServiceManagerGrpc() {}
   public static final String SERVICE_NAME = "google.api.servicemanagement.v1.ServiceManager";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.ListServicesRequest,
-          com.google.api.servicemanagement.v1.ListServicesResponse>
-      getListServicesMethod;
+  private static volatile io.grpc.MethodDescriptor getListServicesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListServices",
       requestType = com.google.api.servicemanagement.v1.ListServicesRequest.class,
       responseType = com.google.api.servicemanagement.v1.ListServicesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.ListServicesRequest,
-          com.google.api.servicemanagement.v1.ListServicesResponse>
-      getListServicesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.ListServicesRequest,
-            com.google.api.servicemanagement.v1.ListServicesResponse>
-        getListServicesMethod;
+  public static io.grpc.MethodDescriptor getListServicesMethod() {
+    io.grpc.MethodDescriptor getListServicesMethod;
     if ((getListServicesMethod = ServiceManagerGrpc.getListServicesMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
         if ((getListServicesMethod = ServiceManagerGrpc.getListServicesMethod) == null) {
-          ServiceManagerGrpc.getListServicesMethod =
-              getListServicesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServices"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.ListServicesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.ListServicesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("ListServices"))
-                      .build();
+          ServiceManagerGrpc.getListServicesMethod = getListServicesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServices"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.ListServicesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.ListServicesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("ListServices"))
+              .build();
         }
       }
     }
     return getListServicesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.GetServiceRequest,
-          com.google.api.servicemanagement.v1.ManagedService>
-      getGetServiceMethod;
+  private static volatile io.grpc.MethodDescriptor getGetServiceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetService",
       requestType = com.google.api.servicemanagement.v1.GetServiceRequest.class,
       responseType = com.google.api.servicemanagement.v1.ManagedService.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.GetServiceRequest,
-          com.google.api.servicemanagement.v1.ManagedService>
-      getGetServiceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.GetServiceRequest,
-            com.google.api.servicemanagement.v1.ManagedService>
-        getGetServiceMethod;
+  public static io.grpc.MethodDescriptor getGetServiceMethod() {
+    io.grpc.MethodDescriptor getGetServiceMethod;
     if ((getGetServiceMethod = ServiceManagerGrpc.getGetServiceMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
         if ((getGetServiceMethod = ServiceManagerGrpc.getGetServiceMethod) == null) {
-          ServiceManagerGrpc.getGetServiceMethod =
-              getGetServiceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetService"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.GetServiceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.ManagedService
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("GetService"))
-                      .build();
+          ServiceManagerGrpc.getGetServiceMethod = getGetServiceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetService"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.GetServiceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("GetService"))
+              .build();
         }
       }
     }
     return getGetServiceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.CreateServiceRequest,
-          com.google.longrunning.Operation>
-      getCreateServiceMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateServiceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateService",
       requestType = com.google.api.servicemanagement.v1.CreateServiceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.CreateServiceRequest,
-          com.google.longrunning.Operation>
-      getCreateServiceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.CreateServiceRequest,
-            com.google.longrunning.Operation>
-        getCreateServiceMethod;
+  public static io.grpc.MethodDescriptor getCreateServiceMethod() {
+    io.grpc.MethodDescriptor getCreateServiceMethod;
     if ((getCreateServiceMethod = ServiceManagerGrpc.getCreateServiceMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
         if ((getCreateServiceMethod = ServiceManagerGrpc.getCreateServiceMethod) == null) {
-          ServiceManagerGrpc.getCreateServiceMethod =
-              getCreateServiceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateService"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.CreateServiceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("CreateService"))
-                      .build();
+          ServiceManagerGrpc.getCreateServiceMethod = getCreateServiceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateService"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.CreateServiceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("CreateService"))
+              .build();
         }
       }
     }
     return getCreateServiceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.DeleteServiceRequest,
-          com.google.longrunning.Operation>
-      getDeleteServiceMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteServiceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteService",
       requestType = com.google.api.servicemanagement.v1.DeleteServiceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.DeleteServiceRequest,
-          com.google.longrunning.Operation>
-      getDeleteServiceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.DeleteServiceRequest,
-            com.google.longrunning.Operation>
-        getDeleteServiceMethod;
+  public static io.grpc.MethodDescriptor getDeleteServiceMethod() {
+    io.grpc.MethodDescriptor getDeleteServiceMethod;
     if ((getDeleteServiceMethod = ServiceManagerGrpc.getDeleteServiceMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
         if ((getDeleteServiceMethod = ServiceManagerGrpc.getDeleteServiceMethod) == null) {
-          ServiceManagerGrpc.getDeleteServiceMethod =
-              getDeleteServiceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteService"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.DeleteServiceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("DeleteService"))
-                      .build();
+          ServiceManagerGrpc.getDeleteServiceMethod = getDeleteServiceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteService"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.DeleteServiceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("DeleteService"))
+              .build();
         }
       }
     }
     return getDeleteServiceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.UndeleteServiceRequest,
-          com.google.longrunning.Operation>
-      getUndeleteServiceMethod;
+  private static volatile io.grpc.MethodDescriptor getUndeleteServiceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UndeleteService",
       requestType = com.google.api.servicemanagement.v1.UndeleteServiceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.UndeleteServiceRequest,
-          com.google.longrunning.Operation>
-      getUndeleteServiceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.UndeleteServiceRequest,
-            com.google.longrunning.Operation>
-        getUndeleteServiceMethod;
+  public static io.grpc.MethodDescriptor getUndeleteServiceMethod() {
+    io.grpc.MethodDescriptor getUndeleteServiceMethod;
     if ((getUndeleteServiceMethod = ServiceManagerGrpc.getUndeleteServiceMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
         if ((getUndeleteServiceMethod = ServiceManagerGrpc.getUndeleteServiceMethod) == null) {
-          ServiceManagerGrpc.getUndeleteServiceMethod =
-              getUndeleteServiceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeleteService"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.UndeleteServiceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("UndeleteService"))
-                      .build();
+          ServiceManagerGrpc.getUndeleteServiceMethod = getUndeleteServiceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeleteService"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.UndeleteServiceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("UndeleteService"))
+              .build();
         }
       }
     }
     return getUndeleteServiceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.ListServiceConfigsRequest,
-          com.google.api.servicemanagement.v1.ListServiceConfigsResponse>
-      getListServiceConfigsMethod;
+  private static volatile io.grpc.MethodDescriptor getListServiceConfigsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListServiceConfigs",
       requestType = com.google.api.servicemanagement.v1.ListServiceConfigsRequest.class,
       responseType = com.google.api.servicemanagement.v1.ListServiceConfigsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.ListServiceConfigsRequest,
-          com.google.api.servicemanagement.v1.ListServiceConfigsResponse>
-      getListServiceConfigsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.ListServiceConfigsRequest,
-            com.google.api.servicemanagement.v1.ListServiceConfigsResponse>
-        getListServiceConfigsMethod;
+  public static io.grpc.MethodDescriptor getListServiceConfigsMethod() {
+    io.grpc.MethodDescriptor getListServiceConfigsMethod;
     if ((getListServiceConfigsMethod = ServiceManagerGrpc.getListServiceConfigsMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
-        if ((getListServiceConfigsMethod = ServiceManagerGrpc.getListServiceConfigsMethod)
-            == null) {
-          ServiceManagerGrpc.getListServiceConfigsMethod =
-              getListServiceConfigsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServiceConfigs"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.ListServiceConfigsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.ListServiceConfigsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("ListServiceConfigs"))
-                      .build();
+        if ((getListServiceConfigsMethod = ServiceManagerGrpc.getListServiceConfigsMethod) == null) {
+          ServiceManagerGrpc.getListServiceConfigsMethod = getListServiceConfigsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServiceConfigs"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.ListServiceConfigsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.ListServiceConfigsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("ListServiceConfigs"))
+              .build();
         }
       }
     }
     return getListServiceConfigsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.GetServiceConfigRequest, com.google.api.Service>
-      getGetServiceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getGetServiceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetServiceConfig",
       requestType = com.google.api.servicemanagement.v1.GetServiceConfigRequest.class,
       responseType = com.google.api.Service.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.GetServiceConfigRequest, com.google.api.Service>
-      getGetServiceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.GetServiceConfigRequest, com.google.api.Service>
-        getGetServiceConfigMethod;
+  public static io.grpc.MethodDescriptor getGetServiceConfigMethod() {
+    io.grpc.MethodDescriptor getGetServiceConfigMethod;
     if ((getGetServiceConfigMethod = ServiceManagerGrpc.getGetServiceConfigMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
         if ((getGetServiceConfigMethod = ServiceManagerGrpc.getGetServiceConfigMethod) == null) {
-          ServiceManagerGrpc.getGetServiceConfigMethod =
-              getGetServiceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.GetServiceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.Service.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("GetServiceConfig"))
-                      .build();
+          ServiceManagerGrpc.getGetServiceConfigMethod = getGetServiceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.GetServiceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.Service.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("GetServiceConfig"))
+              .build();
         }
       }
     }
     return getGetServiceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.CreateServiceConfigRequest, com.google.api.Service>
-      getCreateServiceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateServiceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateServiceConfig",
       requestType = com.google.api.servicemanagement.v1.CreateServiceConfigRequest.class,
       responseType = com.google.api.Service.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.CreateServiceConfigRequest, com.google.api.Service>
-      getCreateServiceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.CreateServiceConfigRequest, com.google.api.Service>
-        getCreateServiceConfigMethod;
+  public static io.grpc.MethodDescriptor getCreateServiceConfigMethod() {
+    io.grpc.MethodDescriptor getCreateServiceConfigMethod;
     if ((getCreateServiceConfigMethod = ServiceManagerGrpc.getCreateServiceConfigMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
-        if ((getCreateServiceConfigMethod = ServiceManagerGrpc.getCreateServiceConfigMethod)
-            == null) {
-          ServiceManagerGrpc.getCreateServiceConfigMethod =
-              getCreateServiceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "CreateServiceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.CreateServiceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.Service.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("CreateServiceConfig"))
-                      .build();
+        if ((getCreateServiceConfigMethod = ServiceManagerGrpc.getCreateServiceConfigMethod) == null) {
+          ServiceManagerGrpc.getCreateServiceConfigMethod = getCreateServiceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateServiceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.CreateServiceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.Service.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("CreateServiceConfig"))
+              .build();
         }
       }
     }
     return getCreateServiceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.SubmitConfigSourceRequest,
-          com.google.longrunning.Operation>
-      getSubmitConfigSourceMethod;
+  private static volatile io.grpc.MethodDescriptor getSubmitConfigSourceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SubmitConfigSource",
       requestType = com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.SubmitConfigSourceRequest,
-          com.google.longrunning.Operation>
-      getSubmitConfigSourceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.SubmitConfigSourceRequest,
-            com.google.longrunning.Operation>
-        getSubmitConfigSourceMethod;
+  public static io.grpc.MethodDescriptor getSubmitConfigSourceMethod() {
+    io.grpc.MethodDescriptor getSubmitConfigSourceMethod;
     if ((getSubmitConfigSourceMethod = ServiceManagerGrpc.getSubmitConfigSourceMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
-        if ((getSubmitConfigSourceMethod = ServiceManagerGrpc.getSubmitConfigSourceMethod)
-            == null) {
-          ServiceManagerGrpc.getSubmitConfigSourceMethod =
-              getSubmitConfigSourceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubmitConfigSource"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.SubmitConfigSourceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("SubmitConfigSource"))
-                      .build();
+        if ((getSubmitConfigSourceMethod = ServiceManagerGrpc.getSubmitConfigSourceMethod) == null) {
+          ServiceManagerGrpc.getSubmitConfigSourceMethod = getSubmitConfigSourceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubmitConfigSource"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("SubmitConfigSource"))
+              .build();
         }
       }
     }
     return getSubmitConfigSourceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.ListServiceRolloutsRequest,
-          com.google.api.servicemanagement.v1.ListServiceRolloutsResponse>
-      getListServiceRolloutsMethod;
+  private static volatile io.grpc.MethodDescriptor getListServiceRolloutsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListServiceRollouts",
       requestType = com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.class,
       responseType = com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.ListServiceRolloutsRequest,
-          com.google.api.servicemanagement.v1.ListServiceRolloutsResponse>
-      getListServiceRolloutsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.ListServiceRolloutsRequest,
-            com.google.api.servicemanagement.v1.ListServiceRolloutsResponse>
-        getListServiceRolloutsMethod;
+  public static io.grpc.MethodDescriptor getListServiceRolloutsMethod() {
+    io.grpc.MethodDescriptor getListServiceRolloutsMethod;
     if ((getListServiceRolloutsMethod = ServiceManagerGrpc.getListServiceRolloutsMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
-        if ((getListServiceRolloutsMethod = ServiceManagerGrpc.getListServiceRolloutsMethod)
-            == null) {
-          ServiceManagerGrpc.getListServiceRolloutsMethod =
-              getListServiceRolloutsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListServiceRollouts"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.ListServiceRolloutsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.ListServiceRolloutsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("ListServiceRollouts"))
-                      .build();
+        if ((getListServiceRolloutsMethod = ServiceManagerGrpc.getListServiceRolloutsMethod) == null) {
+          ServiceManagerGrpc.getListServiceRolloutsMethod = getListServiceRolloutsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServiceRollouts"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("ListServiceRollouts"))
+              .build();
         }
       }
     }
     return getListServiceRolloutsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.GetServiceRolloutRequest,
-          com.google.api.servicemanagement.v1.Rollout>
-      getGetServiceRolloutMethod;
+  private static volatile io.grpc.MethodDescriptor getGetServiceRolloutMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetServiceRollout",
       requestType = com.google.api.servicemanagement.v1.GetServiceRolloutRequest.class,
       responseType = com.google.api.servicemanagement.v1.Rollout.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.GetServiceRolloutRequest,
-          com.google.api.servicemanagement.v1.Rollout>
-      getGetServiceRolloutMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.GetServiceRolloutRequest,
-            com.google.api.servicemanagement.v1.Rollout>
-        getGetServiceRolloutMethod;
+  public static io.grpc.MethodDescriptor getGetServiceRolloutMethod() {
+    io.grpc.MethodDescriptor getGetServiceRolloutMethod;
     if ((getGetServiceRolloutMethod = ServiceManagerGrpc.getGetServiceRolloutMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
         if ((getGetServiceRolloutMethod = ServiceManagerGrpc.getGetServiceRolloutMethod) == null) {
-          ServiceManagerGrpc.getGetServiceRolloutMethod =
-              getGetServiceRolloutMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceRollout"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.GetServiceRolloutRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.Rollout.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("GetServiceRollout"))
-                      .build();
+          ServiceManagerGrpc.getGetServiceRolloutMethod = getGetServiceRolloutMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceRollout"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.GetServiceRolloutRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.Rollout.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("GetServiceRollout"))
+              .build();
         }
       }
     }
     return getGetServiceRolloutMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.CreateServiceRolloutRequest,
-          com.google.longrunning.Operation>
-      getCreateServiceRolloutMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateServiceRolloutMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateServiceRollout",
       requestType = com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.CreateServiceRolloutRequest,
-          com.google.longrunning.Operation>
-      getCreateServiceRolloutMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.CreateServiceRolloutRequest,
-            com.google.longrunning.Operation>
-        getCreateServiceRolloutMethod;
-    if ((getCreateServiceRolloutMethod = ServiceManagerGrpc.getCreateServiceRolloutMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getCreateServiceRolloutMethod() {
+    io.grpc.MethodDescriptor getCreateServiceRolloutMethod;
+    if ((getCreateServiceRolloutMethod = ServiceManagerGrpc.getCreateServiceRolloutMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
-        if ((getCreateServiceRolloutMethod = ServiceManagerGrpc.getCreateServiceRolloutMethod)
-            == null) {
-          ServiceManagerGrpc.getCreateServiceRolloutMethod =
-              getCreateServiceRolloutMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "CreateServiceRollout"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.CreateServiceRolloutRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("CreateServiceRollout"))
-                      .build();
+        if ((getCreateServiceRolloutMethod = ServiceManagerGrpc.getCreateServiceRolloutMethod) == null) {
+          ServiceManagerGrpc.getCreateServiceRolloutMethod = getCreateServiceRolloutMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateServiceRollout"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("CreateServiceRollout"))
+              .build();
         }
       }
     }
     return getCreateServiceRolloutMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.GenerateConfigReportRequest,
-          com.google.api.servicemanagement.v1.GenerateConfigReportResponse>
-      getGenerateConfigReportMethod;
+  private static volatile io.grpc.MethodDescriptor getGenerateConfigReportMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GenerateConfigReport",
       requestType = com.google.api.servicemanagement.v1.GenerateConfigReportRequest.class,
       responseType = com.google.api.servicemanagement.v1.GenerateConfigReportResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.api.servicemanagement.v1.GenerateConfigReportRequest,
-          com.google.api.servicemanagement.v1.GenerateConfigReportResponse>
-      getGenerateConfigReportMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.api.servicemanagement.v1.GenerateConfigReportRequest,
-            com.google.api.servicemanagement.v1.GenerateConfigReportResponse>
-        getGenerateConfigReportMethod;
-    if ((getGenerateConfigReportMethod = ServiceManagerGrpc.getGenerateConfigReportMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getGenerateConfigReportMethod() {
+    io.grpc.MethodDescriptor getGenerateConfigReportMethod;
+    if ((getGenerateConfigReportMethod = ServiceManagerGrpc.getGenerateConfigReportMethod) == null) {
       synchronized (ServiceManagerGrpc.class) {
-        if ((getGenerateConfigReportMethod = ServiceManagerGrpc.getGenerateConfigReportMethod)
-            == null) {
-          ServiceManagerGrpc.getGenerateConfigReportMethod =
-              getGenerateConfigReportMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "GenerateConfigReport"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.GenerateConfigReportRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.api.servicemanagement.v1.GenerateConfigReportResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ServiceManagerMethodDescriptorSupplier("GenerateConfigReport"))
-                      .build();
+        if ((getGenerateConfigReportMethod = ServiceManagerGrpc.getGenerateConfigReportMethod) == null) {
+          ServiceManagerGrpc.getGenerateConfigReportMethod = getGenerateConfigReportMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateConfigReport"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.GenerateConfigReportRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.api.servicemanagement.v1.GenerateConfigReportResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new ServiceManagerMethodDescriptorSupplier("GenerateConfigReport"))
+              .build();
         }
       }
     }
     return getGenerateConfigReportMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static ServiceManagerStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public ServiceManagerStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new ServiceManagerStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public ServiceManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new ServiceManagerStub(channel, callOptions);
+        }
+      };
     return ServiceManagerStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static ServiceManagerBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static ServiceManagerBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public ServiceManagerBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new ServiceManagerBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public ServiceManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new ServiceManagerBlockingStub(channel, callOptions);
+        }
+      };
     return ServiceManagerBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static ServiceManagerFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static ServiceManagerFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public ServiceManagerFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new ServiceManagerFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public ServiceManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new ServiceManagerFutureStub(channel, callOptions);
+        }
+      };
     return ServiceManagerFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * [Google Service Management
    * API](https://cloud.google.com/service-infrastructure/docs/overview)
    * 
*/ - public abstract static class ServiceManagerImplBase implements io.grpc.BindableService { + public static abstract class ServiceManagerImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists managed services.
      * Returns all public services. For authenticated users, also returns all
@@ -705,32 +482,23 @@ public abstract static class ServiceManagerImplBase implements io.grpc.BindableS
      * for.
      * 
*/ - public void listServices( - com.google.api.servicemanagement.v1.ListServicesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListServicesMethod(), responseObserver); + public void listServices(com.google.api.servicemanagement.v1.ListServicesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServicesMethod(), responseObserver); } /** - * - * *
      * Gets a managed service. Authentication is required unless the service is
      * public.
      * 
*/ - public void getService( - com.google.api.servicemanagement.v1.GetServiceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getService(com.google.api.servicemanagement.v1.GetServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); } /** - * - * *
      * Creates a new managed service.
      * A managed service is immutable, and is subject to mandatory 30-day
@@ -742,16 +510,12 @@ public void getService(
      * Operation<response: ManagedService>
      * 
*/ - public void createService( - com.google.api.servicemanagement.v1.CreateServiceRequest request, + public void createService(com.google.api.servicemanagement.v1.CreateServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceMethod(), responseObserver); } /** - * - * *
      * Deletes a managed service. This method will change the service to the
      * `Soft-Delete` state for 30 days. Within this period, service producers may
@@ -762,16 +526,12 @@ public void createService(
      * Operation<response: google.protobuf.Empty>
      * 
*/ - public void deleteService( - com.google.api.servicemanagement.v1.DeleteServiceRequest request, + public void deleteService(com.google.api.servicemanagement.v1.DeleteServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteServiceMethod(), responseObserver); } /** - * - * *
      * Revives a previously deleted managed service. The method restores the
      * service using the configuration at the time the service was deleted.
@@ -780,46 +540,33 @@ public void deleteService(
      * Operation<response: UndeleteServiceResponse>
      * 
*/ - public void undeleteService( - com.google.api.servicemanagement.v1.UndeleteServiceRequest request, + public void undeleteService(com.google.api.servicemanagement.v1.UndeleteServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUndeleteServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeleteServiceMethod(), responseObserver); } /** - * - * *
      * Lists the history of the service configuration for a managed service,
      * from the newest to the oldest.
      * 
*/ - public void listServiceConfigs( - com.google.api.servicemanagement.v1.ListServiceConfigsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListServiceConfigsMethod(), responseObserver); + public void listServiceConfigs(com.google.api.servicemanagement.v1.ListServiceConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServiceConfigsMethod(), responseObserver); } /** - * - * *
      * Gets a service configuration (version) for a managed service.
      * 
*/ - public void getServiceConfig( - com.google.api.servicemanagement.v1.GetServiceConfigRequest request, + public void getServiceConfig(com.google.api.servicemanagement.v1.GetServiceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetServiceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceConfigMethod(), responseObserver); } /** - * - * *
      * Creates a new service configuration (version) for a managed service.
      * This method only stores the service configuration. To roll out the service
@@ -830,16 +577,12 @@ public void getServiceConfig(
      * eventually.
      * 
*/ - public void createServiceConfig( - com.google.api.servicemanagement.v1.CreateServiceConfigRequest request, + public void createServiceConfig(com.google.api.servicemanagement.v1.CreateServiceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateServiceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceConfigMethod(), responseObserver); } /** - * - * *
      * Creates a new service configuration (version) for a managed service based
      * on
@@ -855,47 +598,34 @@ public void createServiceConfig(
      * Operation<response: SubmitConfigSourceResponse>
      * 
*/ - public void submitConfigSource( - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request, + public void submitConfigSource(com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSubmitConfigSourceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubmitConfigSourceMethod(), responseObserver); } /** - * - * *
      * Lists the history of the service configuration rollouts for a managed
      * service, from the newest to the oldest.
      * 
*/ - public void listServiceRollouts( - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListServiceRolloutsMethod(), responseObserver); + public void listServiceRollouts(com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServiceRolloutsMethod(), responseObserver); } /** - * - * *
      * Gets a service configuration
      * [rollout][google.api.servicemanagement.v1.Rollout].
      * 
*/ - public void getServiceRollout( - com.google.api.servicemanagement.v1.GetServiceRolloutRequest request, + public void getServiceRollout(com.google.api.servicemanagement.v1.GetServiceRolloutRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetServiceRolloutMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceRolloutMethod(), responseObserver); } /** - * - * *
      * Creates a new service configuration rollout. Based on rollout, the
      * Google Service Management will roll out the service configurations to
@@ -910,16 +640,12 @@ public void getServiceRollout(
      * Operation<response: Rollout>
      * 
*/ - public void createServiceRollout( - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request, + public void createServiceRollout(com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateServiceRolloutMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceRolloutMethod(), responseObserver); } /** - * - * *
      * Generates and returns a report (errors, warnings and changes from
      * existing configurations) associated with
@@ -933,128 +659,127 @@ public void createServiceRollout(
      * service configuration.
      * 
*/ - public void generateConfigReport( - com.google.api.servicemanagement.v1.GenerateConfigReportRequest request, - io.grpc.stub.StreamObserver< - com.google.api.servicemanagement.v1.GenerateConfigReportResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateConfigReportMethod(), responseObserver); + public void generateConfigReport(com.google.api.servicemanagement.v1.GenerateConfigReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateConfigReportMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListServicesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.ListServicesRequest, - com.google.api.servicemanagement.v1.ListServicesResponse>( - this, METHODID_LIST_SERVICES))) + getListServicesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.ListServicesRequest, + com.google.api.servicemanagement.v1.ListServicesResponse>( + this, METHODID_LIST_SERVICES))) .addMethod( - getGetServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.GetServiceRequest, - com.google.api.servicemanagement.v1.ManagedService>( - this, METHODID_GET_SERVICE))) + getGetServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.GetServiceRequest, + com.google.api.servicemanagement.v1.ManagedService>( + this, METHODID_GET_SERVICE))) .addMethod( - getCreateServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.CreateServiceRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_SERVICE))) + getCreateServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.CreateServiceRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_SERVICE))) .addMethod( - getDeleteServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.DeleteServiceRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_SERVICE))) + getDeleteServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.DeleteServiceRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_SERVICE))) .addMethod( - getUndeleteServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.UndeleteServiceRequest, - com.google.longrunning.Operation>(this, METHODID_UNDELETE_SERVICE))) + getUndeleteServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.UndeleteServiceRequest, + com.google.longrunning.Operation>( + this, METHODID_UNDELETE_SERVICE))) .addMethod( - getListServiceConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.ListServiceConfigsRequest, - com.google.api.servicemanagement.v1.ListServiceConfigsResponse>( - this, METHODID_LIST_SERVICE_CONFIGS))) + getListServiceConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.ListServiceConfigsRequest, + com.google.api.servicemanagement.v1.ListServiceConfigsResponse>( + this, METHODID_LIST_SERVICE_CONFIGS))) .addMethod( - getGetServiceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.GetServiceConfigRequest, - com.google.api.Service>(this, METHODID_GET_SERVICE_CONFIG))) + getGetServiceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.GetServiceConfigRequest, + com.google.api.Service>( + this, METHODID_GET_SERVICE_CONFIG))) .addMethod( - getCreateServiceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.CreateServiceConfigRequest, - com.google.api.Service>(this, METHODID_CREATE_SERVICE_CONFIG))) + getCreateServiceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.CreateServiceConfigRequest, + com.google.api.Service>( + this, METHODID_CREATE_SERVICE_CONFIG))) .addMethod( - getSubmitConfigSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest, - com.google.longrunning.Operation>(this, METHODID_SUBMIT_CONFIG_SOURCE))) + getSubmitConfigSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.SubmitConfigSourceRequest, + com.google.longrunning.Operation>( + this, METHODID_SUBMIT_CONFIG_SOURCE))) .addMethod( - getListServiceRolloutsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest, - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse>( - this, METHODID_LIST_SERVICE_ROLLOUTS))) + getListServiceRolloutsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.ListServiceRolloutsRequest, + com.google.api.servicemanagement.v1.ListServiceRolloutsResponse>( + this, METHODID_LIST_SERVICE_ROLLOUTS))) .addMethod( - getGetServiceRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.GetServiceRolloutRequest, - com.google.api.servicemanagement.v1.Rollout>( - this, METHODID_GET_SERVICE_ROLLOUT))) + getGetServiceRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.GetServiceRolloutRequest, + com.google.api.servicemanagement.v1.Rollout>( + this, METHODID_GET_SERVICE_ROLLOUT))) .addMethod( - getCreateServiceRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_SERVICE_ROLLOUT))) + getCreateServiceRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.CreateServiceRolloutRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_SERVICE_ROLLOUT))) .addMethod( - getGenerateConfigReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.api.servicemanagement.v1.GenerateConfigReportRequest, - com.google.api.servicemanagement.v1.GenerateConfigReportResponse>( - this, METHODID_GENERATE_CONFIG_REPORT))) + getGenerateConfigReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.api.servicemanagement.v1.GenerateConfigReportRequest, + com.google.api.servicemanagement.v1.GenerateConfigReportResponse>( + this, METHODID_GENERATE_CONFIG_REPORT))) .build(); } } /** - * - * *
    * [Google Service Management
    * API](https://cloud.google.com/service-infrastructure/docs/overview)
    * 
*/ - public static final class ServiceManagerStub - extends io.grpc.stub.AbstractAsyncStub { - private ServiceManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class ServiceManagerStub extends io.grpc.stub.AbstractAsyncStub { + private ServiceManagerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected ServiceManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected ServiceManagerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ServiceManagerStub(channel, callOptions); } /** - * - * *
      * Lists managed services.
      * Returns all public services. For authenticated users, also returns all
@@ -1062,35 +787,25 @@ protected ServiceManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions
      * for.
      * 
*/ - public void listServices( - com.google.api.servicemanagement.v1.ListServicesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listServices(com.google.api.servicemanagement.v1.ListServicesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListServicesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListServicesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a managed service. Authentication is required unless the service is
      * public.
      * 
*/ - public void getService( - com.google.api.servicemanagement.v1.GetServiceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getService(com.google.api.servicemanagement.v1.GetServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new managed service.
      * A managed service is immutable, and is subject to mandatory 30-day
@@ -1102,18 +817,13 @@ public void getService(
      * Operation<response: ManagedService>
      * 
*/ - public void createService( - com.google.api.servicemanagement.v1.CreateServiceRequest request, + public void createService(com.google.api.servicemanagement.v1.CreateServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a managed service. This method will change the service to the
      * `Soft-Delete` state for 30 days. Within this period, service producers may
@@ -1124,18 +834,13 @@ public void createService(
      * Operation<response: google.protobuf.Empty>
      * 
*/ - public void deleteService( - com.google.api.servicemanagement.v1.DeleteServiceRequest request, + public void deleteService(com.google.api.servicemanagement.v1.DeleteServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Revives a previously deleted managed service. The method restores the
      * service using the configuration at the time the service was deleted.
@@ -1144,52 +849,36 @@ public void deleteService(
      * Operation<response: UndeleteServiceResponse>
      * 
*/ - public void undeleteService( - com.google.api.servicemanagement.v1.UndeleteServiceRequest request, + public void undeleteService(com.google.api.servicemanagement.v1.UndeleteServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeleteServiceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUndeleteServiceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the history of the service configuration for a managed service,
      * from the newest to the oldest.
      * 
*/ - public void listServiceConfigs( - com.google.api.servicemanagement.v1.ListServiceConfigsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listServiceConfigs(com.google.api.servicemanagement.v1.ListServiceConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListServiceConfigsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListServiceConfigsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a service configuration (version) for a managed service.
      * 
*/ - public void getServiceConfig( - com.google.api.servicemanagement.v1.GetServiceConfigRequest request, + public void getServiceConfig(com.google.api.servicemanagement.v1.GetServiceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServiceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetServiceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new service configuration (version) for a managed service.
      * This method only stores the service configuration. To roll out the service
@@ -1200,18 +889,13 @@ public void getServiceConfig(
      * eventually.
      * 
*/ - public void createServiceConfig( - com.google.api.servicemanagement.v1.CreateServiceConfigRequest request, + public void createServiceConfig(com.google.api.servicemanagement.v1.CreateServiceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateServiceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new service configuration (version) for a managed service based
      * on
@@ -1227,53 +911,37 @@ public void createServiceConfig(
      * Operation<response: SubmitConfigSourceResponse>
      * 
*/ - public void submitConfigSource( - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request, + public void submitConfigSource(com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSubmitConfigSourceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSubmitConfigSourceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the history of the service configuration rollouts for a managed
      * service, from the newest to the oldest.
      * 
*/ - public void listServiceRollouts( - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listServiceRollouts(com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListServiceRolloutsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListServiceRolloutsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a service configuration
      * [rollout][google.api.servicemanagement.v1.Rollout].
      * 
*/ - public void getServiceRollout( - com.google.api.servicemanagement.v1.GetServiceRolloutRequest request, + public void getServiceRollout(com.google.api.servicemanagement.v1.GetServiceRolloutRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServiceRolloutMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetServiceRolloutMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new service configuration rollout. Based on rollout, the
      * Google Service Management will roll out the service configurations to
@@ -1288,18 +956,13 @@ public void getServiceRollout(
      * Operation<response: Rollout>
      * 
*/ - public void createServiceRollout( - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request, + public void createServiceRollout(com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceRolloutMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateServiceRolloutMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Generates and returns a report (errors, warnings and changes from
      * existing configurations) associated with
@@ -1313,29 +976,22 @@ public void createServiceRollout(
      * service configuration.
      * 
*/ - public void generateConfigReport( - com.google.api.servicemanagement.v1.GenerateConfigReportRequest request, - io.grpc.stub.StreamObserver< - com.google.api.servicemanagement.v1.GenerateConfigReportResponse> - responseObserver) { + public void generateConfigReport(com.google.api.servicemanagement.v1.GenerateConfigReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateConfigReportMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGenerateConfigReportMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * [Google Service Management
    * API](https://cloud.google.com/service-infrastructure/docs/overview)
    * 
*/ - public static final class ServiceManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ServiceManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class ServiceManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ServiceManagerBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1346,8 +1002,6 @@ protected ServiceManagerBlockingStub build( } /** - * - * *
      * Lists managed services.
      * Returns all public services. For authenticated users, also returns all
@@ -1355,29 +1009,23 @@ protected ServiceManagerBlockingStub build(
      * for.
      * 
*/ - public com.google.api.servicemanagement.v1.ListServicesResponse listServices( - com.google.api.servicemanagement.v1.ListServicesRequest request) { + public com.google.api.servicemanagement.v1.ListServicesResponse listServices(com.google.api.servicemanagement.v1.ListServicesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListServicesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a managed service. Authentication is required unless the service is
      * public.
      * 
*/ - public com.google.api.servicemanagement.v1.ManagedService getService( - com.google.api.servicemanagement.v1.GetServiceRequest request) { + public com.google.api.servicemanagement.v1.ManagedService getService(com.google.api.servicemanagement.v1.GetServiceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetServiceMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new managed service.
      * A managed service is immutable, and is subject to mandatory 30-day
@@ -1389,15 +1037,12 @@ public com.google.api.servicemanagement.v1.ManagedService getService(
      * Operation<response: ManagedService>
      * 
*/ - public com.google.longrunning.Operation createService( - com.google.api.servicemanagement.v1.CreateServiceRequest request) { + public com.google.longrunning.Operation createService(com.google.api.servicemanagement.v1.CreateServiceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateServiceMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a managed service. This method will change the service to the
      * `Soft-Delete` state for 30 days. Within this period, service producers may
@@ -1408,15 +1053,12 @@ public com.google.longrunning.Operation createService(
      * Operation<response: google.protobuf.Empty>
      * 
*/ - public com.google.longrunning.Operation deleteService( - com.google.api.servicemanagement.v1.DeleteServiceRequest request) { + public com.google.longrunning.Operation deleteService(com.google.api.servicemanagement.v1.DeleteServiceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteServiceMethod(), getCallOptions(), request); } /** - * - * *
      * Revives a previously deleted managed service. The method restores the
      * service using the configuration at the time the service was deleted.
@@ -1425,42 +1067,33 @@ public com.google.longrunning.Operation deleteService(
      * Operation<response: UndeleteServiceResponse>
      * 
*/ - public com.google.longrunning.Operation undeleteService( - com.google.api.servicemanagement.v1.UndeleteServiceRequest request) { + public com.google.longrunning.Operation undeleteService(com.google.api.servicemanagement.v1.UndeleteServiceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUndeleteServiceMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the history of the service configuration for a managed service,
      * from the newest to the oldest.
      * 
*/ - public com.google.api.servicemanagement.v1.ListServiceConfigsResponse listServiceConfigs( - com.google.api.servicemanagement.v1.ListServiceConfigsRequest request) { + public com.google.api.servicemanagement.v1.ListServiceConfigsResponse listServiceConfigs(com.google.api.servicemanagement.v1.ListServiceConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListServiceConfigsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a service configuration (version) for a managed service.
      * 
*/ - public com.google.api.Service getServiceConfig( - com.google.api.servicemanagement.v1.GetServiceConfigRequest request) { + public com.google.api.Service getServiceConfig(com.google.api.servicemanagement.v1.GetServiceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetServiceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new service configuration (version) for a managed service.
      * This method only stores the service configuration. To roll out the service
@@ -1471,15 +1104,12 @@ public com.google.api.Service getServiceConfig(
      * eventually.
      * 
*/ - public com.google.api.Service createServiceConfig( - com.google.api.servicemanagement.v1.CreateServiceConfigRequest request) { + public com.google.api.Service createServiceConfig(com.google.api.servicemanagement.v1.CreateServiceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateServiceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new service configuration (version) for a managed service based
      * on
@@ -1495,43 +1125,34 @@ public com.google.api.Service createServiceConfig(
      * Operation<response: SubmitConfigSourceResponse>
      * 
*/ - public com.google.longrunning.Operation submitConfigSource( - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request) { + public com.google.longrunning.Operation submitConfigSource(com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSubmitConfigSourceMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the history of the service configuration rollouts for a managed
      * service, from the newest to the oldest.
      * 
*/ - public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse listServiceRollouts( - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request) { + public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse listServiceRollouts(com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListServiceRolloutsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a service configuration
      * [rollout][google.api.servicemanagement.v1.Rollout].
      * 
*/ - public com.google.api.servicemanagement.v1.Rollout getServiceRollout( - com.google.api.servicemanagement.v1.GetServiceRolloutRequest request) { + public com.google.api.servicemanagement.v1.Rollout getServiceRollout(com.google.api.servicemanagement.v1.GetServiceRolloutRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetServiceRolloutMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new service configuration rollout. Based on rollout, the
      * Google Service Management will roll out the service configurations to
@@ -1546,15 +1167,12 @@ public com.google.api.servicemanagement.v1.Rollout getServiceRollout(
      * Operation<response: Rollout>
      * 
*/ - public com.google.longrunning.Operation createServiceRollout( - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request) { + public com.google.longrunning.Operation createServiceRollout(com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateServiceRolloutMethod(), getCallOptions(), request); } /** - * - * *
      * Generates and returns a report (errors, warnings and changes from
      * existing configurations) associated with
@@ -1568,24 +1186,21 @@ public com.google.longrunning.Operation createServiceRollout(
      * service configuration.
      * 
*/ - public com.google.api.servicemanagement.v1.GenerateConfigReportResponse generateConfigReport( - com.google.api.servicemanagement.v1.GenerateConfigReportRequest request) { + public com.google.api.servicemanagement.v1.GenerateConfigReportResponse generateConfigReport(com.google.api.servicemanagement.v1.GenerateConfigReportRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGenerateConfigReportMethod(), getCallOptions(), request); } } /** - * - * *
    * [Google Service Management
    * API](https://cloud.google.com/service-infrastructure/docs/overview)
    * 
*/ - public static final class ServiceManagerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ServiceManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class ServiceManagerFutureStub extends io.grpc.stub.AbstractFutureStub { + private ServiceManagerFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1596,8 +1211,6 @@ protected ServiceManagerFutureStub build( } /** - * - * *
      * Lists managed services.
      * Returns all public services. For authenticated users, also returns all
@@ -1605,31 +1218,25 @@ protected ServiceManagerFutureStub build(
      * for.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.api.servicemanagement.v1.ListServicesResponse> - listServices(com.google.api.servicemanagement.v1.ListServicesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listServices( + com.google.api.servicemanagement.v1.ListServicesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListServicesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a managed service. Authentication is required unless the service is
      * public.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.api.servicemanagement.v1.ManagedService> - getService(com.google.api.servicemanagement.v1.GetServiceRequest request) { + public com.google.common.util.concurrent.ListenableFuture getService( + com.google.api.servicemanagement.v1.GetServiceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetServiceMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new managed service.
      * A managed service is immutable, and is subject to mandatory 30-day
@@ -1641,15 +1248,13 @@ protected ServiceManagerFutureStub build(
      * Operation<response: ManagedService>
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createService(com.google.api.servicemanagement.v1.CreateServiceRequest request) { + public com.google.common.util.concurrent.ListenableFuture createService( + com.google.api.servicemanagement.v1.CreateServiceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a managed service. This method will change the service to the
      * `Soft-Delete` state for 30 days. Within this period, service producers may
@@ -1660,15 +1265,13 @@ protected ServiceManagerFutureStub build(
      * Operation<response: google.protobuf.Empty>
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteService(com.google.api.servicemanagement.v1.DeleteServiceRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteService( + com.google.api.servicemanagement.v1.DeleteServiceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request); } /** - * - * *
      * Revives a previously deleted managed service. The method restores the
      * service using the configuration at the time the service was deleted.
@@ -1677,43 +1280,36 @@ protected ServiceManagerFutureStub build(
      * Operation<response: UndeleteServiceResponse>
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - undeleteService(com.google.api.servicemanagement.v1.UndeleteServiceRequest request) { + public com.google.common.util.concurrent.ListenableFuture undeleteService( + com.google.api.servicemanagement.v1.UndeleteServiceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUndeleteServiceMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the history of the service configuration for a managed service,
      * from the newest to the oldest.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.api.servicemanagement.v1.ListServiceConfigsResponse> - listServiceConfigs(com.google.api.servicemanagement.v1.ListServiceConfigsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listServiceConfigs( + com.google.api.servicemanagement.v1.ListServiceConfigsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListServiceConfigsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a service configuration (version) for a managed service.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getServiceConfig(com.google.api.servicemanagement.v1.GetServiceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture getServiceConfig( + com.google.api.servicemanagement.v1.GetServiceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetServiceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new service configuration (version) for a managed service.
      * This method only stores the service configuration. To roll out the service
@@ -1724,16 +1320,13 @@ protected ServiceManagerFutureStub build(
      * eventually.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createServiceConfig( - com.google.api.servicemanagement.v1.CreateServiceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture createServiceConfig( + com.google.api.servicemanagement.v1.CreateServiceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateServiceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new service configuration (version) for a managed service based
      * on
@@ -1749,46 +1342,37 @@ protected ServiceManagerFutureStub build(
      * Operation<response: SubmitConfigSourceResponse>
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - submitConfigSource(com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request) { + public com.google.common.util.concurrent.ListenableFuture submitConfigSource( + com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSubmitConfigSourceMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the history of the service configuration rollouts for a managed
      * service, from the newest to the oldest.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse> - listServiceRollouts( - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listServiceRollouts( + com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListServiceRolloutsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a service configuration
      * [rollout][google.api.servicemanagement.v1.Rollout].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.api.servicemanagement.v1.Rollout> - getServiceRollout(com.google.api.servicemanagement.v1.GetServiceRolloutRequest request) { + public com.google.common.util.concurrent.ListenableFuture getServiceRollout( + com.google.api.servicemanagement.v1.GetServiceRolloutRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetServiceRolloutMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new service configuration rollout. Based on rollout, the
      * Google Service Management will roll out the service configurations to
@@ -1803,16 +1387,13 @@ protected ServiceManagerFutureStub build(
      * Operation<response: Rollout>
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createServiceRollout( - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request) { + public com.google.common.util.concurrent.ListenableFuture createServiceRollout( + com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateServiceRolloutMethod(), getCallOptions()), request); } /** - * - * *
      * Generates and returns a report (errors, warnings and changes from
      * existing configurations) associated with
@@ -1826,10 +1407,8 @@ protected ServiceManagerFutureStub build(
      * service configuration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.api.servicemanagement.v1.GenerateConfigReportResponse> - generateConfigReport( - com.google.api.servicemanagement.v1.GenerateConfigReportRequest request) { + public com.google.common.util.concurrent.ListenableFuture generateConfigReport( + com.google.api.servicemanagement.v1.GenerateConfigReportRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGenerateConfigReportMethod(), getCallOptions()), request); } @@ -1849,11 +1428,11 @@ protected ServiceManagerFutureStub build( private static final int METHODID_CREATE_SERVICE_ROLLOUT = 11; private static final int METHODID_GENERATE_CONFIG_REPORT = 12; - 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 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 ServiceManagerImplBase serviceImpl; private final int methodId; @@ -1867,79 +1446,56 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_SERVICES: - serviceImpl.listServices( - (com.google.api.servicemanagement.v1.ListServicesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.api.servicemanagement.v1.ListServicesResponse>) - responseObserver); + serviceImpl.listServices((com.google.api.servicemanagement.v1.ListServicesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SERVICE: - serviceImpl.getService( - (com.google.api.servicemanagement.v1.GetServiceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getService((com.google.api.servicemanagement.v1.GetServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_SERVICE: - serviceImpl.createService( - (com.google.api.servicemanagement.v1.CreateServiceRequest) request, + serviceImpl.createService((com.google.api.servicemanagement.v1.CreateServiceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_SERVICE: - serviceImpl.deleteService( - (com.google.api.servicemanagement.v1.DeleteServiceRequest) request, + serviceImpl.deleteService((com.google.api.servicemanagement.v1.DeleteServiceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNDELETE_SERVICE: - serviceImpl.undeleteService( - (com.google.api.servicemanagement.v1.UndeleteServiceRequest) request, + serviceImpl.undeleteService((com.google.api.servicemanagement.v1.UndeleteServiceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SERVICE_CONFIGS: - serviceImpl.listServiceConfigs( - (com.google.api.servicemanagement.v1.ListServiceConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.api.servicemanagement.v1.ListServiceConfigsResponse>) - responseObserver); + serviceImpl.listServiceConfigs((com.google.api.servicemanagement.v1.ListServiceConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SERVICE_CONFIG: - serviceImpl.getServiceConfig( - (com.google.api.servicemanagement.v1.GetServiceConfigRequest) request, + serviceImpl.getServiceConfig((com.google.api.servicemanagement.v1.GetServiceConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_SERVICE_CONFIG: - serviceImpl.createServiceConfig( - (com.google.api.servicemanagement.v1.CreateServiceConfigRequest) request, + serviceImpl.createServiceConfig((com.google.api.servicemanagement.v1.CreateServiceConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBMIT_CONFIG_SOURCE: - serviceImpl.submitConfigSource( - (com.google.api.servicemanagement.v1.SubmitConfigSourceRequest) request, + serviceImpl.submitConfigSource((com.google.api.servicemanagement.v1.SubmitConfigSourceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SERVICE_ROLLOUTS: - serviceImpl.listServiceRollouts( - (com.google.api.servicemanagement.v1.ListServiceRolloutsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse>) - responseObserver); + serviceImpl.listServiceRollouts((com.google.api.servicemanagement.v1.ListServiceRolloutsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SERVICE_ROLLOUT: - serviceImpl.getServiceRollout( - (com.google.api.servicemanagement.v1.GetServiceRolloutRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getServiceRollout((com.google.api.servicemanagement.v1.GetServiceRolloutRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_SERVICE_ROLLOUT: - serviceImpl.createServiceRollout( - (com.google.api.servicemanagement.v1.CreateServiceRolloutRequest) request, + serviceImpl.createServiceRollout((com.google.api.servicemanagement.v1.CreateServiceRolloutRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GENERATE_CONFIG_REPORT: - serviceImpl.generateConfigReport( - (com.google.api.servicemanagement.v1.GenerateConfigReportRequest) request, - (io.grpc.stub.StreamObserver< - com.google.api.servicemanagement.v1.GenerateConfigReportResponse>) - responseObserver); + serviceImpl.generateConfigReport((com.google.api.servicemanagement.v1.GenerateConfigReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -1957,9 +1513,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class ServiceManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class ServiceManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { ServiceManagerBaseDescriptorSupplier() {} @java.lang.Override @@ -2001,24 +1556,22 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (ServiceManagerGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ServiceManagerFileDescriptorSupplier()) - .addMethod(getListServicesMethod()) - .addMethod(getGetServiceMethod()) - .addMethod(getCreateServiceMethod()) - .addMethod(getDeleteServiceMethod()) - .addMethod(getUndeleteServiceMethod()) - .addMethod(getListServiceConfigsMethod()) - .addMethod(getGetServiceConfigMethod()) - .addMethod(getCreateServiceConfigMethod()) - .addMethod(getSubmitConfigSourceMethod()) - .addMethod(getListServiceRolloutsMethod()) - .addMethod(getGetServiceRolloutMethod()) - .addMethod(getCreateServiceRolloutMethod()) - .addMethod(getGenerateConfigReportMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ServiceManagerFileDescriptorSupplier()) + .addMethod(getListServicesMethod()) + .addMethod(getGetServiceMethod()) + .addMethod(getCreateServiceMethod()) + .addMethod(getDeleteServiceMethod()) + .addMethod(getUndeleteServiceMethod()) + .addMethod(getListServiceConfigsMethod()) + .addMethod(getGetServiceConfigMethod()) + .addMethod(getCreateServiceConfigMethod()) + .addMethod(getSubmitConfigSourceMethod()) + .addMethod(getListServiceRolloutsMethod()) + .addMethod(getGetServiceRolloutMethod()) + .addMethod(getCreateServiceRolloutMethod()) + .addMethod(getGenerateConfigReportMethod()) + .build(); } } } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReport.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReport.java similarity index 76% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReport.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReport.java index f76c52699786..88a9521d097b 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReport.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReport.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Change report associated with a particular service configuration.
  * It contains a list of ConfigChanges based on the comparison between
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.api.servicemanagement.v1.ChangeReport}
  */
-public final class ChangeReport extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ChangeReport extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ChangeReport)
     ChangeReportOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ChangeReport.newBuilder() to construct.
   private ChangeReport(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ChangeReport() {
     configChanges_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ChangeReport();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.api.servicemanagement.v1.ResourcesProto
-        .internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.servicemanagement.v1.ResourcesProto
-        .internal_static_google_api_servicemanagement_v1_ChangeReport_fieldAccessorTable
+    return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ChangeReport_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.api.servicemanagement.v1.ChangeReport.class,
-            com.google.api.servicemanagement.v1.ChangeReport.Builder.class);
+            com.google.api.servicemanagement.v1.ChangeReport.class, com.google.api.servicemanagement.v1.ChangeReport.Builder.class);
   }
 
   public static final int CONFIG_CHANGES_FIELD_NUMBER = 1;
   private java.util.List configChanges_;
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -89,8 +68,6 @@ public java.util.List getConfigChangesList() {
     return configChanges_;
   }
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -102,13 +79,11 @@ public java.util.List getConfigChangesList() {
    * repeated .google.api.ConfigChange config_changes = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getConfigChangesOrBuilderList() {
     return configChanges_;
   }
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -124,8 +99,6 @@ public int getConfigChangesCount() {
     return configChanges_.size();
   }
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -141,8 +114,6 @@ public com.google.api.ConfigChange getConfigChanges(int index) {
     return configChanges_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -154,12 +125,12 @@ public com.google.api.ConfigChange getConfigChanges(int index) {
    * repeated .google.api.ConfigChange config_changes = 1;
    */
   @java.lang.Override
-  public com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(int index) {
+  public com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(
+      int index) {
     return configChanges_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -171,7 +142,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 < configChanges_.size(); i++) {
       output.writeMessage(1, configChanges_.get(i));
     }
@@ -185,7 +157,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < configChanges_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, configChanges_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, configChanges_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -195,15 +168,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.api.servicemanagement.v1.ChangeReport)) {
       return super.equals(obj);
     }
-    com.google.api.servicemanagement.v1.ChangeReport other =
-        (com.google.api.servicemanagement.v1.ChangeReport) obj;
+    com.google.api.servicemanagement.v1.ChangeReport other = (com.google.api.servicemanagement.v1.ChangeReport) obj;
 
-    if (!getConfigChangesList().equals(other.getConfigChangesList())) return false;
+    if (!getConfigChangesList()
+        .equals(other.getConfigChangesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -224,104 +197,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(java.nio.ByteBuffer data)
+  public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.ChangeReport parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.api.servicemanagement.v1.ChangeReport parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.ChangeReport parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.api.servicemanagement.v1.ChangeReport prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Change report associated with a particular service configuration.
    * It contains a list of ConfigChanges based on the comparison between
@@ -330,32 +296,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.api.servicemanagement.v1.ChangeReport}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ChangeReport)
       com.google.api.servicemanagement.v1.ChangeReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ChangeReport_fieldAccessorTable
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ChangeReport_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.servicemanagement.v1.ChangeReport.class,
-              com.google.api.servicemanagement.v1.ChangeReport.Builder.class);
+              com.google.api.servicemanagement.v1.ChangeReport.class, com.google.api.servicemanagement.v1.ChangeReport.Builder.class);
     }
 
     // Construct using com.google.api.servicemanagement.v1.ChangeReport.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();
@@ -370,9 +337,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor;
     }
 
     @java.lang.Override
@@ -391,8 +358,7 @@ public com.google.api.servicemanagement.v1.ChangeReport build() {
 
     @java.lang.Override
     public com.google.api.servicemanagement.v1.ChangeReport buildPartial() {
-      com.google.api.servicemanagement.v1.ChangeReport result =
-          new com.google.api.servicemanagement.v1.ChangeReport(this);
+      com.google.api.servicemanagement.v1.ChangeReport result = new com.google.api.servicemanagement.v1.ChangeReport(this);
       int from_bitField0_ = bitField0_;
       if (configChangesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -411,39 +377,38 @@ public com.google.api.servicemanagement.v1.ChangeReport 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.api.servicemanagement.v1.ChangeReport) {
-        return mergeFrom((com.google.api.servicemanagement.v1.ChangeReport) other);
+        return mergeFrom((com.google.api.servicemanagement.v1.ChangeReport)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,8 +416,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.api.servicemanagement.v1.ChangeReport other) {
-      if (other == com.google.api.servicemanagement.v1.ChangeReport.getDefaultInstance())
-        return this;
+      if (other == com.google.api.servicemanagement.v1.ChangeReport.getDefaultInstance()) return this;
       if (configChangesBuilder_ == null) {
         if (!other.configChanges_.isEmpty()) {
           if (configChanges_.isEmpty()) {
@@ -471,10 +435,9 @@ public Builder mergeFrom(com.google.api.servicemanagement.v1.ChangeReport other)
             configChangesBuilder_ = null;
             configChanges_ = other.configChanges_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            configChangesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConfigChangesFieldBuilder()
-                    : null;
+            configChangesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConfigChangesFieldBuilder() : null;
           } else {
             configChangesBuilder_.addAllMessages(other.configChanges_);
           }
@@ -506,25 +469,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.api.ConfigChange m =
-                    input.readMessage(com.google.api.ConfigChange.parser(), extensionRegistry);
-                if (configChangesBuilder_ == null) {
-                  ensureConfigChangesIsMutable();
-                  configChanges_.add(m);
-                } else {
-                  configChangesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.api.ConfigChange m =
+                  input.readMessage(
+                      com.google.api.ConfigChange.parser(),
+                      extensionRegistry);
+              if (configChangesBuilder_ == null) {
+                ensureConfigChangesIsMutable();
+                configChanges_.add(m);
+              } else {
+                configChangesBuilder_.addMessage(m);
+              }
+              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) {
@@ -534,28 +497,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List configChanges_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureConfigChangesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         configChanges_ = new java.util.ArrayList(configChanges_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.ConfigChange,
-            com.google.api.ConfigChange.Builder,
-            com.google.api.ConfigChangeOrBuilder>
-        configChangesBuilder_;
+        com.google.api.ConfigChange, com.google.api.ConfigChange.Builder, com.google.api.ConfigChangeOrBuilder> configChangesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -574,8 +530,6 @@ public java.util.List getConfigChangesList() {
       }
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -594,8 +548,6 @@ public int getConfigChangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -614,8 +566,6 @@ public com.google.api.ConfigChange getConfigChanges(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -626,7 +576,8 @@ public com.google.api.ConfigChange getConfigChanges(int index) {
      *
      * repeated .google.api.ConfigChange config_changes = 1;
      */
-    public Builder setConfigChanges(int index, com.google.api.ConfigChange value) {
+    public Builder setConfigChanges(
+        int index, com.google.api.ConfigChange value) {
       if (configChangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -640,8 +591,6 @@ public Builder setConfigChanges(int index, com.google.api.ConfigChange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -664,8 +613,6 @@ public Builder setConfigChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -690,8 +637,6 @@ public Builder addConfigChanges(com.google.api.ConfigChange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -702,7 +647,8 @@ public Builder addConfigChanges(com.google.api.ConfigChange value) {
      *
      * repeated .google.api.ConfigChange config_changes = 1;
      */
-    public Builder addConfigChanges(int index, com.google.api.ConfigChange value) {
+    public Builder addConfigChanges(
+        int index, com.google.api.ConfigChange value) {
       if (configChangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,8 +662,6 @@ public Builder addConfigChanges(int index, com.google.api.ConfigChange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -728,7 +672,8 @@ public Builder addConfigChanges(int index, com.google.api.ConfigChange value) {
      *
      * repeated .google.api.ConfigChange config_changes = 1;
      */
-    public Builder addConfigChanges(com.google.api.ConfigChange.Builder builderForValue) {
+    public Builder addConfigChanges(
+        com.google.api.ConfigChange.Builder builderForValue) {
       if (configChangesBuilder_ == null) {
         ensureConfigChangesIsMutable();
         configChanges_.add(builderForValue.build());
@@ -739,8 +684,6 @@ public Builder addConfigChanges(com.google.api.ConfigChange.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -763,8 +706,6 @@ public Builder addConfigChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -779,7 +720,8 @@ public Builder addAllConfigChanges(
         java.lang.Iterable values) {
       if (configChangesBuilder_ == null) {
         ensureConfigChangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, configChanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, configChanges_);
         onChanged();
       } else {
         configChangesBuilder_.addAllMessages(values);
@@ -787,8 +729,6 @@ public Builder addAllConfigChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -810,8 +750,6 @@ public Builder clearConfigChanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -833,8 +771,6 @@ public Builder removeConfigChanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -845,12 +781,11 @@ public Builder removeConfigChanges(int index) {
      *
      * repeated .google.api.ConfigChange config_changes = 1;
      */
-    public com.google.api.ConfigChange.Builder getConfigChangesBuilder(int index) {
+    public com.google.api.ConfigChange.Builder getConfigChangesBuilder(
+        int index) {
       return getConfigChangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -861,16 +796,14 @@ public com.google.api.ConfigChange.Builder getConfigChangesBuilder(int index) {
      *
      * repeated .google.api.ConfigChange config_changes = 1;
      */
-    public com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(int index) {
+    public com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(
+        int index) {
       if (configChangesBuilder_ == null) {
-        return configChanges_.get(index);
-      } else {
+        return configChanges_.get(index);  } else {
         return configChangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -881,8 +814,8 @@ public com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(int index)
      *
      * repeated .google.api.ConfigChange config_changes = 1;
      */
-    public java.util.List
-        getConfigChangesOrBuilderList() {
+    public java.util.List 
+         getConfigChangesOrBuilderList() {
       if (configChangesBuilder_ != null) {
         return configChangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -890,8 +823,6 @@ public com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -903,12 +834,10 @@ public com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(int index)
      * repeated .google.api.ConfigChange config_changes = 1;
      */
     public com.google.api.ConfigChange.Builder addConfigChangesBuilder() {
-      return getConfigChangesFieldBuilder()
-          .addBuilder(com.google.api.ConfigChange.getDefaultInstance());
+      return getConfigChangesFieldBuilder().addBuilder(
+          com.google.api.ConfigChange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -919,13 +848,12 @@ public com.google.api.ConfigChange.Builder addConfigChangesBuilder() {
      *
      * repeated .google.api.ConfigChange config_changes = 1;
      */
-    public com.google.api.ConfigChange.Builder addConfigChangesBuilder(int index) {
-      return getConfigChangesFieldBuilder()
-          .addBuilder(index, com.google.api.ConfigChange.getDefaultInstance());
+    public com.google.api.ConfigChange.Builder addConfigChangesBuilder(
+        int index) {
+      return getConfigChangesFieldBuilder().addBuilder(
+          index, com.google.api.ConfigChange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of changes between two service configurations.
      * The changes will be alphabetically sorted based on the identifier
@@ -936,21 +864,16 @@ public com.google.api.ConfigChange.Builder addConfigChangesBuilder(int index) {
      *
      * repeated .google.api.ConfigChange config_changes = 1;
      */
-    public java.util.List getConfigChangesBuilderList() {
+    public java.util.List 
+         getConfigChangesBuilderList() {
       return getConfigChangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.ConfigChange,
-            com.google.api.ConfigChange.Builder,
-            com.google.api.ConfigChangeOrBuilder>
+        com.google.api.ConfigChange, com.google.api.ConfigChange.Builder, com.google.api.ConfigChangeOrBuilder> 
         getConfigChangesFieldBuilder() {
       if (configChangesBuilder_ == null) {
-        configChangesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.api.ConfigChange,
-                com.google.api.ConfigChange.Builder,
-                com.google.api.ConfigChangeOrBuilder>(
+        configChangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.api.ConfigChange, com.google.api.ConfigChange.Builder, com.google.api.ConfigChangeOrBuilder>(
                 configChanges_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -959,9 +882,9 @@ public java.util.List getConfigChangesBuild
       }
       return configChangesBuilder_;
     }
-
     @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);
     }
 
@@ -971,12 +894,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ChangeReport)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ChangeReport)
   private static final com.google.api.servicemanagement.v1.ChangeReport DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ChangeReport();
   }
@@ -985,27 +908,27 @@ public static com.google.api.servicemanagement.v1.ChangeReport getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ChangeReport 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 ChangeReport 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;
@@ -1020,4 +943,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.servicemanagement.v1.ChangeReport getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReportOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReportOrBuilder.java
similarity index 76%
rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReportOrBuilder.java
rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReportOrBuilder.java
index c4593976eae5..55e24d8612f5 100644
--- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReportOrBuilder.java
+++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ChangeReportOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/api/servicemanagement/v1/resources.proto
 
 package com.google.api.servicemanagement.v1;
 
-public interface ChangeReportOrBuilder
-    extends
+public interface ChangeReportOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ChangeReport)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -36,10 +18,9 @@ public interface ChangeReportOrBuilder
    *
    * repeated .google.api.ConfigChange config_changes = 1;
    */
-  java.util.List getConfigChangesList();
+  java.util.List 
+      getConfigChangesList();
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -52,8 +33,6 @@ public interface ChangeReportOrBuilder
    */
   com.google.api.ConfigChange getConfigChanges(int index);
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -66,8 +45,6 @@ public interface ChangeReportOrBuilder
    */
   int getConfigChangesCount();
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -78,10 +55,9 @@ public interface ChangeReportOrBuilder
    *
    * repeated .google.api.ConfigChange config_changes = 1;
    */
-  java.util.List getConfigChangesOrBuilderList();
+  java.util.List 
+      getConfigChangesOrBuilderList();
   /**
-   *
-   *
    * 
    * List of changes between two service configurations.
    * The changes will be alphabetically sorted based on the identifier
@@ -92,5 +68,6 @@ public interface ChangeReportOrBuilder
    *
    * repeated .google.api.ConfigChange config_changes = 1;
    */
-  com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(int index);
+  com.google.api.ConfigChangeOrBuilder getConfigChangesOrBuilder(
+      int index);
 }
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFile.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFile.java
similarity index 70%
rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFile.java
rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFile.java
index 2964ecfd20b5..40e62fd236e9 100644
--- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFile.java
+++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFile.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/api/servicemanagement/v1/resources.proto
 
 package com.google.api.servicemanagement.v1;
 
 /**
- *
- *
  * 
  * Generic specification of a source configuration file
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.ConfigFile} */ -public final class ConfigFile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigFile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ConfigFile) ConfigFileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigFile.newBuilder() to construct. private ConfigFile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigFile() { filePath_ = ""; fileContents_ = com.google.protobuf.ByteString.EMPTY; @@ -45,35 +27,35 @@ private ConfigFile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigFile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigFile_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ConfigFile.class, - com.google.api.servicemanagement.v1.ConfigFile.Builder.class); + com.google.api.servicemanagement.v1.ConfigFile.class, com.google.api.servicemanagement.v1.ConfigFile.Builder.class); } - /** Protobuf enum {@code google.api.servicemanagement.v1.ConfigFile.FileType} */ - public enum FileType implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.api.servicemanagement.v1.ConfigFile.FileType} + */ + public enum FileType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unknown file type.
      * 
@@ -82,8 +64,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ FILE_TYPE_UNSPECIFIED(0), /** - * - * *
      * YAML-specification of service.
      * 
@@ -92,8 +72,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE_CONFIG_YAML(1), /** - * - * *
      * OpenAPI specification, serialized in JSON.
      * 
@@ -102,8 +80,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ OPEN_API_JSON(2), /** - * - * *
      * OpenAPI specification, serialized in YAML.
      * 
@@ -112,8 +88,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ OPEN_API_YAML(3), /** - * - * *
      * FileDescriptorSet, generated by protoc.
      * To generate, use protoc with imports and source info included.
@@ -126,8 +100,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
      */
     FILE_DESCRIPTOR_SET_PROTO(4),
     /**
-     *
-     *
      * 
      * Uncompiled Proto file. Used for storage and display purposes only,
      * currently server-side compilation is not supported. Should match the
@@ -143,8 +115,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unknown file type.
      * 
@@ -153,8 +123,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * YAML-specification of service.
      * 
@@ -163,8 +131,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_CONFIG_YAML_VALUE = 1; /** - * - * *
      * OpenAPI specification, serialized in JSON.
      * 
@@ -173,8 +139,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPEN_API_JSON_VALUE = 2; /** - * - * *
      * OpenAPI specification, serialized in YAML.
      * 
@@ -183,8 +147,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPEN_API_YAML_VALUE = 3; /** - * - * *
      * FileDescriptorSet, generated by protoc.
      * To generate, use protoc with imports and source info included.
@@ -197,8 +159,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FILE_DESCRIPTOR_SET_PROTO_VALUE = 4;
     /**
-     *
-     *
      * 
      * Uncompiled Proto file. Used for storage and display purposes only,
      * currently server-side compilation is not supported. Should match the
@@ -211,6 +171,7 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PROTO_FILE_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -235,55 +196,52 @@ public static FileType valueOf(int value) {
      */
     public static FileType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FILE_TYPE_UNSPECIFIED;
-        case 1:
-          return SERVICE_CONFIG_YAML;
-        case 2:
-          return OPEN_API_JSON;
-        case 3:
-          return OPEN_API_YAML;
-        case 4:
-          return FILE_DESCRIPTOR_SET_PROTO;
-        case 6:
-          return PROTO_FILE;
-        default:
-          return null;
+        case 0: return FILE_TYPE_UNSPECIFIED;
+        case 1: return SERVICE_CONFIG_YAML;
+        case 2: return OPEN_API_JSON;
+        case 3: return OPEN_API_YAML;
+        case 4: return FILE_DESCRIPTOR_SET_PROTO;
+        case 6: return PROTO_FILE;
+        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<
+        FileType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public FileType findValueByNumber(int number) {
+              return FileType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FileType findValueByNumber(int number) {
-            return FileType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.api.servicemanagement.v1.ConfigFile.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FileType[] VALUES = values();
 
-    public static FileType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FileType 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;
@@ -303,14 +261,11 @@ private FileType(int value) {
   public static final int FILE_PATH_FIELD_NUMBER = 1;
   private volatile java.lang.Object filePath_;
   /**
-   *
-   *
    * 
    * The file name of the configuration file (full or relative path).
    * 
* * string file_path = 1; - * * @return The filePath. */ @java.lang.Override @@ -319,29 +274,29 @@ public java.lang.String getFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** - * - * *
    * The file name of the configuration file (full or relative path).
    * 
* * string file_path = 1; - * * @return The bytes for filePath. */ @java.lang.Override - public com.google.protobuf.ByteString getFilePathBytes() { + public com.google.protobuf.ByteString + getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filePath_ = b; return b; } else { @@ -352,14 +307,11 @@ public com.google.protobuf.ByteString getFilePathBytes() { public static final int FILE_CONTENTS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString fileContents_; /** - * - * *
    * The bytes that constitute the file.
    * 
* * bytes file_contents = 3; - * * @return The fileContents. */ @java.lang.Override @@ -370,43 +322,31 @@ public com.google.protobuf.ByteString getFileContents() { public static final int FILE_TYPE_FIELD_NUMBER = 4; private int fileType_; /** - * - * *
    * The type of configuration file this represents.
    * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @return The enum numeric value on the wire for fileType. */ - @java.lang.Override - public int getFileTypeValue() { + @java.lang.Override public int getFileTypeValue() { return fileType_; } /** - * - * *
    * The type of configuration file this represents.
    * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @return The fileType. */ - @java.lang.Override - public com.google.api.servicemanagement.v1.ConfigFile.FileType getFileType() { + @java.lang.Override public com.google.api.servicemanagement.v1.ConfigFile.FileType getFileType() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.ConfigFile.FileType result = - com.google.api.servicemanagement.v1.ConfigFile.FileType.valueOf(fileType_); - return result == null - ? com.google.api.servicemanagement.v1.ConfigFile.FileType.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.ConfigFile.FileType result = com.google.api.servicemanagement.v1.ConfigFile.FileType.valueOf(fileType_); + return result == null ? com.google.api.servicemanagement.v1.ConfigFile.FileType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,16 +358,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_); } if (!fileContents_.isEmpty()) { output.writeBytes(3, fileContents_); } - if (fileType_ - != com.google.api.servicemanagement.v1.ConfigFile.FileType.FILE_TYPE_UNSPECIFIED - .getNumber()) { + if (fileType_ != com.google.api.servicemanagement.v1.ConfigFile.FileType.FILE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, fileType_); } getUnknownFields().writeTo(output); @@ -443,12 +382,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_); } if (!fileContents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, fileContents_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, fileContents_); } - if (fileType_ - != com.google.api.servicemanagement.v1.ConfigFile.FileType.FILE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, fileType_); + if (fileType_ != com.google.api.servicemanagement.v1.ConfigFile.FileType.FILE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, fileType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -458,16 +397,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.api.servicemanagement.v1.ConfigFile)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ConfigFile other = - (com.google.api.servicemanagement.v1.ConfigFile) obj; + com.google.api.servicemanagement.v1.ConfigFile other = (com.google.api.servicemanagement.v1.ConfigFile) obj; - if (!getFilePath().equals(other.getFilePath())) return false; - if (!getFileContents().equals(other.getFileContents())) return false; + if (!getFilePath() + .equals(other.getFilePath())) return false; + if (!getFileContents() + .equals(other.getFileContents())) return false; if (fileType_ != other.fileType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -491,136 +431,130 @@ public int hashCode() { return hash; } - public static com.google.api.servicemanagement.v1.ConfigFile parseFrom(java.nio.ByteBuffer data) + public static com.google.api.servicemanagement.v1.ConfigFile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ConfigFile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ConfigFile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ConfigFile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ConfigFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ConfigFile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ConfigFile 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.api.servicemanagement.v1.ConfigFile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ConfigFile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ConfigFile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ConfigFile parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ConfigFile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ConfigFile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.servicemanagement.v1.ConfigFile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Generic specification of a source configuration file
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.ConfigFile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ConfigFile) com.google.api.servicemanagement.v1.ConfigFileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigFile_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ConfigFile.class, - com.google.api.servicemanagement.v1.ConfigFile.Builder.class); + com.google.api.servicemanagement.v1.ConfigFile.class, com.google.api.servicemanagement.v1.ConfigFile.Builder.class); } // Construct using com.google.api.servicemanagement.v1.ConfigFile.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(); @@ -634,9 +568,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor; } @java.lang.Override @@ -655,8 +589,7 @@ public com.google.api.servicemanagement.v1.ConfigFile build() { @java.lang.Override public com.google.api.servicemanagement.v1.ConfigFile buildPartial() { - com.google.api.servicemanagement.v1.ConfigFile result = - new com.google.api.servicemanagement.v1.ConfigFile(this); + com.google.api.servicemanagement.v1.ConfigFile result = new com.google.api.servicemanagement.v1.ConfigFile(this); result.filePath_ = filePath_; result.fileContents_ = fileContents_; result.fileType_ = fileType_; @@ -668,39 +601,38 @@ public com.google.api.servicemanagement.v1.ConfigFile 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.api.servicemanagement.v1.ConfigFile) { - return mergeFrom((com.google.api.servicemanagement.v1.ConfigFile) other); + return mergeFrom((com.google.api.servicemanagement.v1.ConfigFile)other); } else { super.mergeFrom(other); return this; @@ -745,31 +677,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - filePath_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 26: - { - fileContents_ = input.readBytes(); - - break; - } // case 26 - case 32: - { - fileType_ = input.readEnum(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + filePath_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 26: { + fileContents_ = input.readBytes(); + + break; + } // case 26 + case 32: { + fileType_ = input.readEnum(); + + break; + } // case 32 + 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) { @@ -782,20 +710,18 @@ public Builder mergeFrom( private java.lang.Object filePath_ = ""; /** - * - * *
      * The file name of the configuration file (full or relative path).
      * 
* * string file_path = 1; - * * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; @@ -804,21 +730,20 @@ public java.lang.String getFilePath() { } } /** - * - * *
      * The file name of the configuration file (full or relative path).
      * 
* * string file_path = 1; - * * @return The bytes for filePath. */ - public com.google.protobuf.ByteString getFilePathBytes() { + public com.google.protobuf.ByteString + getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filePath_ = b; return b; } else { @@ -826,61 +751,54 @@ public com.google.protobuf.ByteString getFilePathBytes() { } } /** - * - * *
      * The file name of the configuration file (full or relative path).
      * 
* * string file_path = 1; - * * @param value The filePath to set. * @return This builder for chaining. */ - public Builder setFilePath(java.lang.String value) { + public Builder setFilePath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePath_ = value; onChanged(); return this; } /** - * - * *
      * The file name of the configuration file (full or relative path).
      * 
* * string file_path = 1; - * * @return This builder for chaining. */ public Builder clearFilePath() { - + filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /** - * - * *
      * The file name of the configuration file (full or relative path).
      * 
* * string file_path = 1; - * * @param value The bytes for filePath to set. * @return This builder for chaining. */ - public Builder setFilePathBytes(com.google.protobuf.ByteString value) { + public Builder setFilePathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePath_ = value; onChanged(); return this; @@ -888,14 +806,11 @@ public Builder setFilePathBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString fileContents_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The bytes that constitute the file.
      * 
* * bytes file_contents = 3; - * * @return The fileContents. */ @java.lang.Override @@ -903,39 +818,33 @@ public com.google.protobuf.ByteString getFileContents() { return fileContents_; } /** - * - * *
      * The bytes that constitute the file.
      * 
* * bytes file_contents = 3; - * * @param value The fileContents to set. * @return This builder for chaining. */ public Builder setFileContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileContents_ = value; onChanged(); return this; } /** - * - * *
      * The bytes that constitute the file.
      * 
* * bytes file_contents = 3; - * * @return This builder for chaining. */ public Builder clearFileContents() { - + fileContents_ = getDefaultInstance().getFileContents(); onChanged(); return this; @@ -943,67 +852,51 @@ public Builder clearFileContents() { private int fileType_ = 0; /** - * - * *
      * The type of configuration file this represents.
      * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @return The enum numeric value on the wire for fileType. */ - @java.lang.Override - public int getFileTypeValue() { + @java.lang.Override public int getFileTypeValue() { return fileType_; } /** - * - * *
      * The type of configuration file this represents.
      * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @param value The enum numeric value on the wire for fileType to set. * @return This builder for chaining. */ public Builder setFileTypeValue(int value) { - + fileType_ = value; onChanged(); return this; } /** - * - * *
      * The type of configuration file this represents.
      * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @return The fileType. */ @java.lang.Override public com.google.api.servicemanagement.v1.ConfigFile.FileType getFileType() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.ConfigFile.FileType result = - com.google.api.servicemanagement.v1.ConfigFile.FileType.valueOf(fileType_); - return result == null - ? com.google.api.servicemanagement.v1.ConfigFile.FileType.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.ConfigFile.FileType result = com.google.api.servicemanagement.v1.ConfigFile.FileType.valueOf(fileType_); + return result == null ? com.google.api.servicemanagement.v1.ConfigFile.FileType.UNRECOGNIZED : result; } /** - * - * *
      * The type of configuration file this represents.
      * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @param value The fileType to set. * @return This builder for chaining. */ @@ -1011,31 +904,28 @@ public Builder setFileType(com.google.api.servicemanagement.v1.ConfigFile.FileTy if (value == null) { throw new NullPointerException(); } - + fileType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of configuration file this represents.
      * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @return This builder for chaining. */ public Builder clearFileType() { - + fileType_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1045,12 +935,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ConfigFile) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ConfigFile) private static final com.google.api.servicemanagement.v1.ConfigFile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ConfigFile(); } @@ -1059,27 +949,27 @@ public static com.google.api.servicemanagement.v1.ConfigFile getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigFile 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 ConfigFile 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; @@ -1094,4 +984,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.ConfigFile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFileOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFileOrBuilder.java similarity index 65% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFileOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFileOrBuilder.java index 36e1782b5460..5594d2c1afc3 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFileOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigFileOrBuilder.java @@ -1,87 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; -public interface ConfigFileOrBuilder - extends +public interface ConfigFileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ConfigFile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The file name of the configuration file (full or relative path).
    * 
* * string file_path = 1; - * * @return The filePath. */ java.lang.String getFilePath(); /** - * - * *
    * The file name of the configuration file (full or relative path).
    * 
* * string file_path = 1; - * * @return The bytes for filePath. */ - com.google.protobuf.ByteString getFilePathBytes(); + com.google.protobuf.ByteString + getFilePathBytes(); /** - * - * *
    * The bytes that constitute the file.
    * 
* * bytes file_contents = 3; - * * @return The fileContents. */ com.google.protobuf.ByteString getFileContents(); /** - * - * *
    * The type of configuration file this represents.
    * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @return The enum numeric value on the wire for fileType. */ int getFileTypeValue(); /** - * - * *
    * The type of configuration file this represents.
    * 
* * .google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4; - * * @return The fileType. */ com.google.api.servicemanagement.v1.ConfigFile.FileType getFileType(); diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRef.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRef.java similarity index 65% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRef.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRef.java index 61ff8ff98160..16d5efd9484b 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRef.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRef.java @@ -1,84 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Represents a service configuration with its name and id.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.ConfigRef} */ -public final class ConfigRef extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigRef extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ConfigRef) ConfigRefOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigRef.newBuilder() to construct. private ConfigRef(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigRef() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigRef(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigRef_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigRef_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ConfigRef.class, - com.google.api.servicemanagement.v1.ConfigRef.Builder.class); + com.google.api.servicemanagement.v1.ConfigRef.class, com.google.api.servicemanagement.v1.ConfigRef.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource name of a service config. It must have the following
    * format: "services/{service name}/configs/{config id}".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -87,30 +65,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; } } /** - * - * *
    * Resource name of a service config. It must have the following
    * format: "services/{service name}/configs/{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 { @@ -119,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +108,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_); } @@ -155,15 +133,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.api.servicemanagement.v1.ConfigRef)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ConfigRef other = - (com.google.api.servicemanagement.v1.ConfigRef) obj; + com.google.api.servicemanagement.v1.ConfigRef other = (com.google.api.servicemanagement.v1.ConfigRef) 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 +160,130 @@ public int hashCode() { return hash; } - public static com.google.api.servicemanagement.v1.ConfigRef parseFrom(java.nio.ByteBuffer data) + public static com.google.api.servicemanagement.v1.ConfigRef parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ConfigRef parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ConfigRef parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ConfigRef parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ConfigRef parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ConfigRef parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ConfigRef 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.api.servicemanagement.v1.ConfigRef parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ConfigRef parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ConfigRef parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ConfigRef parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ConfigRef parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ConfigRef parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.servicemanagement.v1.ConfigRef prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 a service configuration with its name and id.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.ConfigRef} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ConfigRef) com.google.api.servicemanagement.v1.ConfigRefOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigRef_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigRef_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ConfigRef.class, - com.google.api.servicemanagement.v1.ConfigRef.Builder.class); + com.google.api.servicemanagement.v1.ConfigRef.class, com.google.api.servicemanagement.v1.ConfigRef.Builder.class); } // Construct using com.google.api.servicemanagement.v1.ConfigRef.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 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor; } @java.lang.Override @@ -342,8 +314,7 @@ public com.google.api.servicemanagement.v1.ConfigRef build() { @java.lang.Override public com.google.api.servicemanagement.v1.ConfigRef buildPartial() { - com.google.api.servicemanagement.v1.ConfigRef result = - new com.google.api.servicemanagement.v1.ConfigRef(this); + com.google.api.servicemanagement.v1.ConfigRef result = new com.google.api.servicemanagement.v1.ConfigRef(this); result.name_ = name_; onBuilt(); return result; @@ -353,39 +324,38 @@ public com.google.api.servicemanagement.v1.ConfigRef 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.api.servicemanagement.v1.ConfigRef) { - return mergeFrom((com.google.api.servicemanagement.v1.ConfigRef) other); + return mergeFrom((com.google.api.servicemanagement.v1.ConfigRef)other); } else { super.mergeFrom(other); return this; @@ -424,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -449,21 +417,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Resource name of a service config. It must have the following
      * format: "services/{service name}/configs/{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; @@ -472,22 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name of a service config. It must have the following
      * format: "services/{service name}/configs/{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 { @@ -495,71 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name of a service config. It must have the following
      * format: "services/{service name}/configs/{config id}".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of a service config. It must have the following
      * format: "services/{service name}/configs/{config id}".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name of a service config. It must have the following
      * format: "services/{service name}/configs/{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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -569,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ConfigRef) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ConfigRef) private static final com.google.api.servicemanagement.v1.ConfigRef DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ConfigRef(); } @@ -583,27 +541,27 @@ public static com.google.api.servicemanagement.v1.ConfigRef getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigRef 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 ConfigRef 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; @@ -618,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.ConfigRef getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRefOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRefOrBuilder.java similarity index 52% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRefOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRefOrBuilder.java index 29403962b830..3f0d936025e0 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRefOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigRefOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; -public interface ConfigRefOrBuilder - extends +public interface ConfigRefOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ConfigRef) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of a service config. It must have the following
    * format: "services/{service name}/configs/{config id}".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name of a service config. It must have the following
    * format: "services/{service name}/configs/{config id}".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSource.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSource.java similarity index 73% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSource.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSource.java index ac78fbd3932f..7988a03e5f1f 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSource.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSource.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Represents a source file which is used to generate the service configuration
  * defined by `google.api.Service`.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.api.servicemanagement.v1.ConfigSource}
  */
-public final class ConfigSource extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ConfigSource extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ConfigSource)
     ConfigSourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ConfigSource.newBuilder() to construct.
   private ConfigSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ConfigSource() {
     id_ = "";
     files_ = java.util.Collections.emptyList();
@@ -45,35 +27,32 @@ private ConfigSource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ConfigSource();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.api.servicemanagement.v1.ResourcesProto
-        .internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.servicemanagement.v1.ResourcesProto
-        .internal_static_google_api_servicemanagement_v1_ConfigSource_fieldAccessorTable
+    return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.api.servicemanagement.v1.ConfigSource.class,
-            com.google.api.servicemanagement.v1.ConfigSource.Builder.class);
+            com.google.api.servicemanagement.v1.ConfigSource.class, com.google.api.servicemanagement.v1.ConfigSource.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 5;
   private volatile java.lang.Object id_;
   /**
-   *
-   *
    * 
    * A unique ID for a specific instance of this message, typically assigned
    * by the client for tracking purpose. If empty, the server may choose to
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string id = 5; - * * @return The id. */ @java.lang.Override @@ -90,15 +68,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * A unique ID for a specific instance of this message, typically assigned
    * by the client for tracking purpose. If empty, the server may choose to
@@ -106,15 +83,16 @@ public java.lang.String getId() {
    * 
* * string id = 5; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -125,8 +103,6 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int FILES_FIELD_NUMBER = 2; private java.util.List files_; /** - * - * *
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -139,8 +115,6 @@ public java.util.List getFilesLi
     return files_;
   }
   /**
-   *
-   *
    * 
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -149,13 +123,11 @@ public java.util.List getFilesLi
    * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFilesOrBuilderList() {
     return files_;
   }
   /**
-   *
-   *
    * 
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -168,8 +140,6 @@ public int getFilesCount() {
     return files_.size();
   }
   /**
-   *
-   *
    * 
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -182,8 +152,6 @@ public com.google.api.servicemanagement.v1.ConfigFile getFiles(int index) {
     return files_.get(index);
   }
   /**
-   *
-   *
    * 
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -192,12 +160,12 @@ public com.google.api.servicemanagement.v1.ConfigFile getFiles(int index) {
    * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
    */
   @java.lang.Override
-  public com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder(int index) {
+  public com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder(
+      int index) {
     return files_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -209,7 +177,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 < files_.size(); i++) {
       output.writeMessage(2, files_.get(i));
     }
@@ -226,7 +195,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < files_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, files_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, files_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, id_);
@@ -239,16 +209,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.api.servicemanagement.v1.ConfigSource)) {
       return super.equals(obj);
     }
-    com.google.api.servicemanagement.v1.ConfigSource other =
-        (com.google.api.servicemanagement.v1.ConfigSource) obj;
+    com.google.api.servicemanagement.v1.ConfigSource other = (com.google.api.servicemanagement.v1.ConfigSource) obj;
 
-    if (!getId().equals(other.getId())) return false;
-    if (!getFilesList().equals(other.getFilesList())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
+    if (!getFilesList()
+        .equals(other.getFilesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -271,104 +242,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(java.nio.ByteBuffer data)
+  public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.ConfigSource parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.api.servicemanagement.v1.ConfigSource parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.ConfigSource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.api.servicemanagement.v1.ConfigSource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 a source file which is used to generate the service configuration
    * defined by `google.api.Service`.
@@ -376,32 +340,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.api.servicemanagement.v1.ConfigSource}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ConfigSource)
       com.google.api.servicemanagement.v1.ConfigSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ConfigSource_fieldAccessorTable
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.servicemanagement.v1.ConfigSource.class,
-              com.google.api.servicemanagement.v1.ConfigSource.Builder.class);
+              com.google.api.servicemanagement.v1.ConfigSource.class, com.google.api.servicemanagement.v1.ConfigSource.Builder.class);
     }
 
     // Construct using com.google.api.servicemanagement.v1.ConfigSource.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();
@@ -418,9 +383,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor;
     }
 
     @java.lang.Override
@@ -439,8 +404,7 @@ public com.google.api.servicemanagement.v1.ConfigSource build() {
 
     @java.lang.Override
     public com.google.api.servicemanagement.v1.ConfigSource buildPartial() {
-      com.google.api.servicemanagement.v1.ConfigSource result =
-          new com.google.api.servicemanagement.v1.ConfigSource(this);
+      com.google.api.servicemanagement.v1.ConfigSource result = new com.google.api.servicemanagement.v1.ConfigSource(this);
       int from_bitField0_ = bitField0_;
       result.id_ = id_;
       if (filesBuilder_ == null) {
@@ -460,39 +424,38 @@ public com.google.api.servicemanagement.v1.ConfigSource 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.api.servicemanagement.v1.ConfigSource) {
-        return mergeFrom((com.google.api.servicemanagement.v1.ConfigSource) other);
+        return mergeFrom((com.google.api.servicemanagement.v1.ConfigSource)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -500,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.api.servicemanagement.v1.ConfigSource other) {
-      if (other == com.google.api.servicemanagement.v1.ConfigSource.getDefaultInstance())
-        return this;
+      if (other == com.google.api.servicemanagement.v1.ConfigSource.getDefaultInstance()) return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         onChanged();
@@ -524,10 +486,9 @@ public Builder mergeFrom(com.google.api.servicemanagement.v1.ConfigSource other)
             filesBuilder_ = null;
             files_ = other.files_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            filesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFilesFieldBuilder()
-                    : null;
+            filesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFilesFieldBuilder() : null;
           } else {
             filesBuilder_.addAllMessages(other.files_);
           }
@@ -559,32 +520,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                com.google.api.servicemanagement.v1.ConfigFile m =
-                    input.readMessage(
-                        com.google.api.servicemanagement.v1.ConfigFile.parser(), extensionRegistry);
-                if (filesBuilder_ == null) {
-                  ensureFilesIsMutable();
-                  files_.add(m);
-                } else {
-                  filesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 42:
-              {
-                id_ = input.readStringRequireUtf8();
+            case 18: {
+              com.google.api.servicemanagement.v1.ConfigFile m =
+                  input.readMessage(
+                      com.google.api.servicemanagement.v1.ConfigFile.parser(),
+                      extensionRegistry);
+              if (filesBuilder_ == null) {
+                ensureFilesIsMutable();
+                files_.add(m);
+              } else {
+                filesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 42: {
+              id_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -594,13 +553,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
-     *
-     *
      * 
      * A unique ID for a specific instance of this message, typically assigned
      * by the client for tracking purpose. If empty, the server may choose to
@@ -608,13 +564,13 @@ public Builder mergeFrom(
      * 
* * string id = 5; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -623,8 +579,6 @@ public java.lang.String getId() { } } /** - * - * *
      * A unique ID for a specific instance of this message, typically assigned
      * by the client for tracking purpose. If empty, the server may choose to
@@ -632,14 +586,15 @@ public java.lang.String getId() {
      * 
* * string id = 5; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -647,8 +602,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * A unique ID for a specific instance of this message, typically assigned
      * by the client for tracking purpose. If empty, the server may choose to
@@ -656,22 +609,20 @@ public com.google.protobuf.ByteString getIdBytes() {
      * 
* * string id = 5; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * A unique ID for a specific instance of this message, typically assigned
      * by the client for tracking purpose. If empty, the server may choose to
@@ -679,18 +630,15 @@ public Builder setId(java.lang.String value) {
      * 
* * string id = 5; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * A unique ID for a specific instance of this message, typically assigned
      * by the client for tracking purpose. If empty, the server may choose to
@@ -698,40 +646,34 @@ public Builder clearId() {
      * 
* * string id = 5; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.ConfigFile, - com.google.api.servicemanagement.v1.ConfigFile.Builder, - com.google.api.servicemanagement.v1.ConfigFileOrBuilder> - filesBuilder_; + com.google.api.servicemanagement.v1.ConfigFile, com.google.api.servicemanagement.v1.ConfigFile.Builder, com.google.api.servicemanagement.v1.ConfigFileOrBuilder> filesBuilder_; /** - * - * *
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -747,8 +689,6 @@ public java.util.List getFilesLi
       }
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -764,8 +704,6 @@ public int getFilesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -781,8 +719,6 @@ public com.google.api.servicemanagement.v1.ConfigFile getFiles(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -790,7 +726,8 @@ public com.google.api.servicemanagement.v1.ConfigFile getFiles(int index) {
      *
      * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
      */
-    public Builder setFiles(int index, com.google.api.servicemanagement.v1.ConfigFile value) {
+    public Builder setFiles(
+        int index, com.google.api.servicemanagement.v1.ConfigFile value) {
       if (filesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -804,8 +741,6 @@ public Builder setFiles(int index, com.google.api.servicemanagement.v1.ConfigFil
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -825,8 +760,6 @@ public Builder setFiles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -848,8 +781,6 @@ public Builder addFiles(com.google.api.servicemanagement.v1.ConfigFile value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -857,7 +788,8 @@ public Builder addFiles(com.google.api.servicemanagement.v1.ConfigFile value) {
      *
      * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
      */
-    public Builder addFiles(int index, com.google.api.servicemanagement.v1.ConfigFile value) {
+    public Builder addFiles(
+        int index, com.google.api.servicemanagement.v1.ConfigFile value) {
       if (filesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -871,8 +803,6 @@ public Builder addFiles(int index, com.google.api.servicemanagement.v1.ConfigFil
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -892,8 +822,6 @@ public Builder addFiles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -913,8 +841,6 @@ public Builder addFiles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -926,7 +852,8 @@ public Builder addAllFiles(
         java.lang.Iterable values) {
       if (filesBuilder_ == null) {
         ensureFilesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, files_);
         onChanged();
       } else {
         filesBuilder_.addAllMessages(values);
@@ -934,8 +861,6 @@ public Builder addAllFiles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -954,8 +879,6 @@ public Builder clearFiles() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -974,8 +897,6 @@ public Builder removeFiles(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -983,12 +904,11 @@ public Builder removeFiles(int index) {
      *
      * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
      */
-    public com.google.api.servicemanagement.v1.ConfigFile.Builder getFilesBuilder(int index) {
+    public com.google.api.servicemanagement.v1.ConfigFile.Builder getFilesBuilder(
+        int index) {
       return getFilesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -996,16 +916,14 @@ public com.google.api.servicemanagement.v1.ConfigFile.Builder getFilesBuilder(in
      *
      * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
      */
-    public com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder(int index) {
+    public com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder(
+        int index) {
       if (filesBuilder_ == null) {
-        return files_.get(index);
-      } else {
+        return files_.get(index);  } else {
         return filesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -1013,8 +931,8 @@ public com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder
      *
      * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
      */
-    public java.util.List
-        getFilesOrBuilderList() {
+    public java.util.List 
+         getFilesOrBuilderList() {
       if (filesBuilder_ != null) {
         return filesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1022,8 +940,6 @@ public com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -1032,12 +948,10 @@ public com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder
      * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
      */
     public com.google.api.servicemanagement.v1.ConfigFile.Builder addFilesBuilder() {
-      return getFilesFieldBuilder()
-          .addBuilder(com.google.api.servicemanagement.v1.ConfigFile.getDefaultInstance());
+      return getFilesFieldBuilder().addBuilder(
+          com.google.api.servicemanagement.v1.ConfigFile.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -1045,13 +959,12 @@ public com.google.api.servicemanagement.v1.ConfigFile.Builder addFilesBuilder()
      *
      * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
      */
-    public com.google.api.servicemanagement.v1.ConfigFile.Builder addFilesBuilder(int index) {
-      return getFilesFieldBuilder()
-          .addBuilder(index, com.google.api.servicemanagement.v1.ConfigFile.getDefaultInstance());
+    public com.google.api.servicemanagement.v1.ConfigFile.Builder addFilesBuilder(
+        int index) {
+      return getFilesFieldBuilder().addBuilder(
+          index, com.google.api.servicemanagement.v1.ConfigFile.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Set of source configuration files that are used to generate a service
      * configuration (`google.api.Service`).
@@ -1059,30 +972,27 @@ public com.google.api.servicemanagement.v1.ConfigFile.Builder addFilesBuilder(in
      *
      * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
      */
-    public java.util.List
-        getFilesBuilderList() {
+    public java.util.List 
+         getFilesBuilderList() {
       return getFilesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.servicemanagement.v1.ConfigFile,
-            com.google.api.servicemanagement.v1.ConfigFile.Builder,
-            com.google.api.servicemanagement.v1.ConfigFileOrBuilder>
+        com.google.api.servicemanagement.v1.ConfigFile, com.google.api.servicemanagement.v1.ConfigFile.Builder, com.google.api.servicemanagement.v1.ConfigFileOrBuilder> 
         getFilesFieldBuilder() {
       if (filesBuilder_ == null) {
-        filesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.api.servicemanagement.v1.ConfigFile,
-                com.google.api.servicemanagement.v1.ConfigFile.Builder,
-                com.google.api.servicemanagement.v1.ConfigFileOrBuilder>(
-                files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.api.servicemanagement.v1.ConfigFile, com.google.api.servicemanagement.v1.ConfigFile.Builder, com.google.api.servicemanagement.v1.ConfigFileOrBuilder>(
+                files_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         files_ = null;
       }
       return filesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1092,12 +1002,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ConfigSource)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ConfigSource)
   private static final com.google.api.servicemanagement.v1.ConfigSource DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ConfigSource();
   }
@@ -1106,27 +1016,27 @@ public static com.google.api.servicemanagement.v1.ConfigSource getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ConfigSource 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 ConfigSource 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;
@@ -1141,4 +1051,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.servicemanagement.v1.ConfigSource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSourceOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSourceOrBuilder.java
similarity index 74%
rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSourceOrBuilder.java
rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSourceOrBuilder.java
index b2c82aa3ca8e..030b3be2027d 100644
--- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSourceOrBuilder.java
+++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ConfigSourceOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/api/servicemanagement/v1/resources.proto
 
 package com.google.api.servicemanagement.v1;
 
-public interface ConfigSourceOrBuilder
-    extends
+public interface ConfigSourceOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ConfigSource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A unique ID for a specific instance of this message, typically assigned
    * by the client for tracking purpose. If empty, the server may choose to
@@ -33,13 +15,10 @@ public interface ConfigSourceOrBuilder
    * 
* * string id = 5; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * A unique ID for a specific instance of this message, typically assigned
    * by the client for tracking purpose. If empty, the server may choose to
@@ -47,14 +26,12 @@ public interface ConfigSourceOrBuilder
    * 
* * string id = 5; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -62,10 +39,9 @@ public interface ConfigSourceOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
    */
-  java.util.List getFilesList();
+  java.util.List 
+      getFilesList();
   /**
-   *
-   *
    * 
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -75,8 +51,6 @@ public interface ConfigSourceOrBuilder
    */
   com.google.api.servicemanagement.v1.ConfigFile getFiles(int index);
   /**
-   *
-   *
    * 
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -86,8 +60,6 @@ public interface ConfigSourceOrBuilder
    */
   int getFilesCount();
   /**
-   *
-   *
    * 
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -95,11 +67,9 @@ public interface ConfigSourceOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
    */
-  java.util.List
+  java.util.List 
       getFilesOrBuilderList();
   /**
-   *
-   *
    * 
    * Set of source configuration files that are used to generate a service
    * configuration (`google.api.Service`).
@@ -107,5 +77,6 @@ public interface ConfigSourceOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
    */
-  com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder(int index);
+  com.google.api.servicemanagement.v1.ConfigFileOrBuilder getFilesOrBuilder(
+      int index);
 }
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequest.java
similarity index 69%
rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequest.java
rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequest.java
index 583ab74e65aa..cb4643f0fa27 100644
--- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequest.java
+++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequest.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/api/servicemanagement/v1/servicemanager.proto
 
 package com.google.api.servicemanagement.v1;
 
 /**
- *
- *
  * 
  * Request message for CreateServiceConfig method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.CreateServiceConfigRequest} */ -public final class CreateServiceConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateServiceConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.CreateServiceConfigRequest) CreateServiceConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateServiceConfigRequest.newBuilder() to construct. private CreateServiceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateServiceConfigRequest() { serviceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateServiceConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.CreateServiceConfigRequest.class, - com.google.api.servicemanagement.v1.CreateServiceConfigRequest.Builder.class); + com.google.api.servicemanagement.v1.CreateServiceConfigRequest.class, com.google.api.servicemanagement.v1.CreateServiceConfigRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -79,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -88,15 +66,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -104,15 +81,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -123,14 +101,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int SERVICE_CONFIG_FIELD_NUMBER = 2; private com.google.api.Service serviceConfig_; /** - * - * *
    * Required. The service configuration resource.
    * 
* * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the serviceConfig field is set. */ @java.lang.Override @@ -138,14 +113,11 @@ public boolean hasServiceConfig() { return serviceConfig_ != null; } /** - * - * *
    * Required. The service configuration resource.
    * 
* * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceConfig. */ @java.lang.Override @@ -153,8 +125,6 @@ public com.google.api.Service getServiceConfig() { return serviceConfig_ == null ? com.google.api.Service.getDefaultInstance() : serviceConfig_; } /** - * - * *
    * Required. The service configuration resource.
    * 
@@ -167,7 +137,6 @@ public com.google.api.ServiceOrBuilder getServiceConfigOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +148,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -199,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceName_); } if (serviceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getServiceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getServiceConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -209,18 +180,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.api.servicemanagement.v1.CreateServiceConfigRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.CreateServiceConfigRequest other = - (com.google.api.servicemanagement.v1.CreateServiceConfigRequest) obj; + com.google.api.servicemanagement.v1.CreateServiceConfigRequest other = (com.google.api.servicemanagement.v1.CreateServiceConfigRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (hasServiceConfig() != other.hasServiceConfig()) return false; if (hasServiceConfig()) { - if (!getServiceConfig().equals(other.getServiceConfig())) return false; + if (!getServiceConfig() + .equals(other.getServiceConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,136 +217,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.CreateServiceConfigRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.CreateServiceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for CreateServiceConfig method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.CreateServiceConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.CreateServiceConfigRequest) com.google.api.servicemanagement.v1.CreateServiceConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.CreateServiceConfigRequest.class, - com.google.api.servicemanagement.v1.CreateServiceConfigRequest.Builder.class); + com.google.api.servicemanagement.v1.CreateServiceConfigRequest.class, com.google.api.servicemanagement.v1.CreateServiceConfigRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.CreateServiceConfigRequest.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(); @@ -390,14 +355,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.CreateServiceConfigRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.CreateServiceConfigRequest getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.CreateServiceConfigRequest.getDefaultInstance(); } @@ -412,8 +376,7 @@ public com.google.api.servicemanagement.v1.CreateServiceConfigRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.CreateServiceConfigRequest buildPartial() { - com.google.api.servicemanagement.v1.CreateServiceConfigRequest result = - new com.google.api.servicemanagement.v1.CreateServiceConfigRequest(this); + com.google.api.servicemanagement.v1.CreateServiceConfigRequest result = new com.google.api.servicemanagement.v1.CreateServiceConfigRequest(this); result.serviceName_ = serviceName_; if (serviceConfigBuilder_ == null) { result.serviceConfig_ = serviceConfig_; @@ -428,39 +391,38 @@ public com.google.api.servicemanagement.v1.CreateServiceConfigRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.CreateServiceConfigRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.CreateServiceConfigRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.CreateServiceConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -468,9 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.CreateServiceConfigRequest other) { - if (other - == com.google.api.servicemanagement.v1.CreateServiceConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.CreateServiceConfigRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -504,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getServiceConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serviceName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getServiceConfigFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -535,8 +494,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -544,13 +501,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -559,8 +516,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -568,14 +523,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -583,8 +539,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -592,22 +546,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -615,18 +567,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -634,16 +583,16 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -651,53 +600,39 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private com.google.api.Service serviceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> - serviceConfigBuilder_; + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> serviceConfigBuilder_; /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serviceConfig field is set. */ public boolean hasServiceConfig() { return serviceConfigBuilder_ != null || serviceConfig_ != null; } /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The serviceConfig. */ public com.google.api.Service getServiceConfig() { if (serviceConfigBuilder_ == null) { - return serviceConfig_ == null - ? com.google.api.Service.getDefaultInstance() - : serviceConfig_; + return serviceConfig_ == null ? com.google.api.Service.getDefaultInstance() : serviceConfig_; } else { return serviceConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setServiceConfig(com.google.api.Service value) { if (serviceConfigBuilder_ == null) { @@ -713,16 +648,14 @@ public Builder setServiceConfig(com.google.api.Service value) { return this; } /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setServiceConfig(com.google.api.Service.Builder builderForValue) { + public Builder setServiceConfig( + com.google.api.Service.Builder builderForValue) { if (serviceConfigBuilder_ == null) { serviceConfig_ = builderForValue.build(); onChanged(); @@ -733,20 +666,17 @@ public Builder setServiceConfig(com.google.api.Service.Builder builderForValue) return this; } /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeServiceConfig(com.google.api.Service value) { if (serviceConfigBuilder_ == null) { if (serviceConfig_ != null) { serviceConfig_ = - com.google.api.Service.newBuilder(serviceConfig_).mergeFrom(value).buildPartial(); + com.google.api.Service.newBuilder(serviceConfig_).mergeFrom(value).buildPartial(); } else { serviceConfig_ = value; } @@ -758,14 +688,11 @@ public Builder mergeServiceConfig(com.google.api.Service value) { return this; } /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearServiceConfig() { if (serviceConfigBuilder_ == null) { @@ -779,66 +706,55 @@ public Builder clearServiceConfig() { return this; } /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.Service.Builder getServiceConfigBuilder() { - + onChanged(); return getServiceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.ServiceOrBuilder getServiceConfigOrBuilder() { if (serviceConfigBuilder_ != null) { return serviceConfigBuilder_.getMessageOrBuilder(); } else { - return serviceConfig_ == null - ? com.google.api.Service.getDefaultInstance() - : serviceConfig_; + return serviceConfig_ == null ? + com.google.api.Service.getDefaultInstance() : serviceConfig_; } } /** - * - * *
      * Required. The service configuration resource.
      * 
* - * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> getServiceConfigFieldBuilder() { if (serviceConfigBuilder_ == null) { - serviceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Service, - com.google.api.Service.Builder, - com.google.api.ServiceOrBuilder>( - getServiceConfig(), getParentForChildren(), isClean()); + serviceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder>( + getServiceConfig(), + getParentForChildren(), + isClean()); serviceConfig_ = null; } return serviceConfigBuilder_; } - @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); } @@ -848,43 +764,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.CreateServiceConfigRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.CreateServiceConfigRequest) - private static final com.google.api.servicemanagement.v1.CreateServiceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.CreateServiceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.CreateServiceConfigRequest(); } - public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest - getDefaultInstance() { + public static com.google.api.servicemanagement.v1.CreateServiceConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateServiceConfigRequest 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 CreateServiceConfigRequest 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; @@ -896,8 +810,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.api.servicemanagement.v1.CreateServiceConfigRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.CreateServiceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequestOrBuilder.java similarity index 70% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequestOrBuilder.java index be2a18afe98c..c3342ad7f456 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface CreateServiceConfigRequestOrBuilder - extends +public interface CreateServiceConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.CreateServiceConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -33,13 +15,10 @@ public interface CreateServiceConfigRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -47,38 +26,30 @@ public interface CreateServiceConfigRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * Required. The service configuration resource.
    * 
* * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the serviceConfig field is set. */ boolean hasServiceConfig(); /** - * - * *
    * Required. The service configuration resource.
    * 
* * .google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceConfig. */ com.google.api.Service getServiceConfig(); /** - * - * *
    * Required. The service configuration resource.
    * 
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequest.java similarity index 61% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequest.java index 896989119106..afd7e76d9a23 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequest.java @@ -1,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for CreateService method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.CreateServiceRequest} */ -public final class CreateServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.CreateServiceRequest) CreateServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateServiceRequest.newBuilder() to construct. private CreateServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateServiceRequest() {} + private CreateServiceRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.CreateServiceRequest.class, - com.google.api.servicemanagement.v1.CreateServiceRequest.Builder.class); + com.google.api.servicemanagement.v1.CreateServiceRequest.class, com.google.api.servicemanagement.v1.CreateServiceRequest.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; private com.google.api.servicemanagement.v1.ManagedService service_; /** - * - * *
    * Required. Initial values for the service resource.
    * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ @java.lang.Override @@ -85,34 +62,23 @@ public boolean hasService() { return service_ != null; } /** - * - * *
    * Required. Initial values for the service resource.
    * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ @java.lang.Override public com.google.api.servicemanagement.v1.ManagedService getService() { - return service_ == null - ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() - : service_; + return service_ == null ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() : service_; } /** - * - * *
    * Required. Initial values for the service resource.
    * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServiceOrBuilder() { @@ -120,7 +86,6 @@ public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServiceOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +97,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 (service_ != null) { output.writeMessage(1, getService()); } @@ -146,7 +112,8 @@ public int getSerializedSize() { size = 0; if (service_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getService()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getService()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -156,17 +123,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.api.servicemanagement.v1.CreateServiceRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.CreateServiceRequest other = - (com.google.api.servicemanagement.v1.CreateServiceRequest) obj; + com.google.api.servicemanagement.v1.CreateServiceRequest other = (com.google.api.servicemanagement.v1.CreateServiceRequest) obj; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -189,136 +156,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.CreateServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.CreateServiceRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.CreateServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for CreateService method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.CreateServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.CreateServiceRequest) com.google.api.servicemanagement.v1.CreateServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.CreateServiceRequest.class, - com.google.api.servicemanagement.v1.CreateServiceRequest.Builder.class); + com.google.api.servicemanagement.v1.CreateServiceRequest.class, com.google.api.servicemanagement.v1.CreateServiceRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.CreateServiceRequest.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(); @@ -332,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor; } @java.lang.Override @@ -353,8 +313,7 @@ public com.google.api.servicemanagement.v1.CreateServiceRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.CreateServiceRequest buildPartial() { - com.google.api.servicemanagement.v1.CreateServiceRequest result = - new com.google.api.servicemanagement.v1.CreateServiceRequest(this); + com.google.api.servicemanagement.v1.CreateServiceRequest result = new com.google.api.servicemanagement.v1.CreateServiceRequest(this); if (serviceBuilder_ == null) { result.service_ = service_; } else { @@ -368,39 +327,38 @@ public com.google.api.servicemanagement.v1.CreateServiceRequest 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.api.servicemanagement.v1.CreateServiceRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.CreateServiceRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.CreateServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -408,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.CreateServiceRequest other) { - if (other == com.google.api.servicemanagement.v1.CreateServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.CreateServiceRequest.getDefaultInstance()) return this; if (other.hasService()) { mergeService(other.getService()); } @@ -439,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getServiceFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getServiceFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -464,58 +421,39 @@ public Builder mergeFrom( private com.google.api.servicemanagement.v1.ManagedService service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> - serviceBuilder_; + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> serviceBuilder_; /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ public com.google.api.servicemanagement.v1.ManagedService getService() { if (serviceBuilder_ == null) { - return service_ == null - ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() - : service_; + return service_ == null ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() : service_; } else { return serviceBuilder_.getMessage(); } } /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setService(com.google.api.servicemanagement.v1.ManagedService value) { if (serviceBuilder_ == null) { @@ -531,15 +469,11 @@ public Builder setService(com.google.api.servicemanagement.v1.ManagedService val return this; } /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setService( com.google.api.servicemanagement.v1.ManagedService.Builder builderForValue) { @@ -553,23 +487,17 @@ public Builder setService( return this; } /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeService(com.google.api.servicemanagement.v1.ManagedService value) { if (serviceBuilder_ == null) { if (service_ != null) { service_ = - com.google.api.servicemanagement.v1.ManagedService.newBuilder(service_) - .mergeFrom(value) - .buildPartial(); + com.google.api.servicemanagement.v1.ManagedService.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } @@ -581,15 +509,11 @@ public Builder mergeService(com.google.api.servicemanagement.v1.ManagedService v return this; } /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -603,71 +527,55 @@ public Builder clearService() { return this; } /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.servicemanagement.v1.ManagedService.Builder getServiceBuilder() { - + onChanged(); return getServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null - ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() - : service_; + return service_ == null ? + com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() : service_; } } /** - * - * *
      * Required. Initial values for the service resource.
      * 
* - * - * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder>( - getService(), getParentForChildren(), isClean()); + serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder>( + getService(), + getParentForChildren(), + isClean()); service_ = null; } return serviceBuilder_; } - @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); } @@ -677,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.CreateServiceRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.CreateServiceRequest) private static final com.google.api.servicemanagement.v1.CreateServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.CreateServiceRequest(); } @@ -691,27 +599,27 @@ public static com.google.api.servicemanagement.v1.CreateServiceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateServiceRequest 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 CreateServiceRequest 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; @@ -726,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.CreateServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequestOrBuilder.java new file mode 100644 index 000000000000..0651c24182d9 --- /dev/null +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRequestOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/api/servicemanagement/v1/servicemanager.proto + +package com.google.api.servicemanagement.v1; + +public interface CreateServiceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.CreateServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Initial values for the service resource.
+   * 
+ * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the service field is set. + */ + boolean hasService(); + /** + *
+   * Required. Initial values for the service resource.
+   * 
+ * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The service. + */ + com.google.api.servicemanagement.v1.ManagedService getService(); + /** + *
+   * Required. Initial values for the service resource.
+   * 
+ * + * .google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServiceOrBuilder(); +} diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequest.java similarity index 64% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequest.java index ee211e3125c1..557aebbe2708 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for 'CreateServiceRollout'
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.CreateServiceRolloutRequest} */ -public final class CreateServiceRolloutRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateServiceRolloutRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.CreateServiceRolloutRequest) CreateServiceRolloutRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateServiceRolloutRequest.newBuilder() to construct. private CreateServiceRolloutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateServiceRolloutRequest() { serviceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateServiceRolloutRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.class, - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.Builder.class); + com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.class, com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -79,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -88,15 +66,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -104,15 +81,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -123,16 +101,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int ROLLOUT_FIELD_NUMBER = 2; private com.google.api.servicemanagement.v1.Rollout rollout_; /** - * - * *
    * Required. The rollout resource. The `service_name` field is output only.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ @java.lang.Override @@ -140,34 +113,23 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
    * Required. The rollout resource. The `service_name` field is output only.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ @java.lang.Override public com.google.api.servicemanagement.v1.Rollout getRollout() { - return rollout_ == null - ? com.google.api.servicemanagement.v1.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.api.servicemanagement.v1.Rollout.getDefaultInstance() : rollout_; } /** - * - * *
    * Required. The rollout resource. The `service_name` field is output only.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutOrBuilder() { @@ -175,7 +137,6 @@ public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +148,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -207,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceName_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRollout()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -217,18 +180,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.api.servicemanagement.v1.CreateServiceRolloutRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest other = - (com.google.api.servicemanagement.v1.CreateServiceRolloutRequest) obj; + com.google.api.servicemanagement.v1.CreateServiceRolloutRequest other = (com.google.api.servicemanagement.v1.CreateServiceRolloutRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -253,136 +217,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.CreateServiceRolloutRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for 'CreateServiceRollout'
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.CreateServiceRolloutRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.CreateServiceRolloutRequest) com.google.api.servicemanagement.v1.CreateServiceRolloutRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.class, - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.Builder.class); + com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.class, com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.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(); @@ -398,14 +355,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.CreateServiceRolloutRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.CreateServiceRolloutRequest getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.getDefaultInstance(); } @@ -420,8 +376,7 @@ public com.google.api.servicemanagement.v1.CreateServiceRolloutRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.CreateServiceRolloutRequest buildPartial() { - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest result = - new com.google.api.servicemanagement.v1.CreateServiceRolloutRequest(this); + com.google.api.servicemanagement.v1.CreateServiceRolloutRequest result = new com.google.api.servicemanagement.v1.CreateServiceRolloutRequest(this); result.serviceName_ = serviceName_; if (rolloutBuilder_ == null) { result.rollout_ = rollout_; @@ -436,50 +391,46 @@ public com.google.api.servicemanagement.v1.CreateServiceRolloutRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.CreateServiceRolloutRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.CreateServiceRolloutRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.CreateServiceRolloutRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.api.servicemanagement.v1.CreateServiceRolloutRequest other) { - if (other - == com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.api.servicemanagement.v1.CreateServiceRolloutRequest other) { + if (other == com.google.api.servicemanagement.v1.CreateServiceRolloutRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -513,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getRolloutFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serviceName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getRolloutFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -544,8 +494,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -553,13 +501,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -568,8 +516,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -577,14 +523,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -592,8 +539,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -601,22 +546,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -624,18 +567,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -643,16 +583,16 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -660,58 +600,39 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private com.google.api.servicemanagement.v1.Rollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout, - com.google.api.servicemanagement.v1.Rollout.Builder, - com.google.api.servicemanagement.v1.RolloutOrBuilder> - rolloutBuilder_; + com.google.api.servicemanagement.v1.Rollout, com.google.api.servicemanagement.v1.Rollout.Builder, com.google.api.servicemanagement.v1.RolloutOrBuilder> rolloutBuilder_; /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ public com.google.api.servicemanagement.v1.Rollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.api.servicemanagement.v1.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.api.servicemanagement.v1.Rollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRollout(com.google.api.servicemanagement.v1.Rollout value) { if (rolloutBuilder_ == null) { @@ -727,17 +648,14 @@ public Builder setRollout(com.google.api.servicemanagement.v1.Rollout value) { return this; } /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRollout(com.google.api.servicemanagement.v1.Rollout.Builder builderForValue) { + public Builder setRollout( + com.google.api.servicemanagement.v1.Rollout.Builder builderForValue) { if (rolloutBuilder_ == null) { rollout_ = builderForValue.build(); onChanged(); @@ -748,23 +666,17 @@ public Builder setRollout(com.google.api.servicemanagement.v1.Rollout.Builder bu return this; } /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRollout(com.google.api.servicemanagement.v1.Rollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.api.servicemanagement.v1.Rollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.api.servicemanagement.v1.Rollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -776,15 +688,11 @@ public Builder mergeRollout(com.google.api.servicemanagement.v1.Rollout value) { return this; } /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -798,71 +706,55 @@ public Builder clearRollout() { return this; } /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.servicemanagement.v1.Rollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.api.servicemanagement.v1.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.api.servicemanagement.v1.Rollout.getDefaultInstance() : rollout_; } } /** - * - * *
      * Required. The rollout resource. The `service_name` field is output only.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout, - com.google.api.servicemanagement.v1.Rollout.Builder, - com.google.api.servicemanagement.v1.RolloutOrBuilder> + com.google.api.servicemanagement.v1.Rollout, com.google.api.servicemanagement.v1.Rollout.Builder, com.google.api.servicemanagement.v1.RolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout, - com.google.api.servicemanagement.v1.Rollout.Builder, - com.google.api.servicemanagement.v1.RolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.servicemanagement.v1.Rollout, com.google.api.servicemanagement.v1.Rollout.Builder, com.google.api.servicemanagement.v1.RolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; } - @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); } @@ -872,43 +764,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.CreateServiceRolloutRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.CreateServiceRolloutRequest) - private static final com.google.api.servicemanagement.v1.CreateServiceRolloutRequest - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.CreateServiceRolloutRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.CreateServiceRolloutRequest(); } - public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest - getDefaultInstance() { + public static com.google.api.servicemanagement.v1.CreateServiceRolloutRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateServiceRolloutRequest 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 CreateServiceRolloutRequest 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; @@ -920,8 +810,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.api.servicemanagement.v1.CreateServiceRolloutRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.CreateServiceRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequestOrBuilder.java similarity index 58% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequestOrBuilder.java index 9eb7813b1448..4ececd931dbc 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/CreateServiceRolloutRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface CreateServiceRolloutRequestOrBuilder - extends +public interface CreateServiceRolloutRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.CreateServiceRolloutRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -33,13 +15,10 @@ public interface CreateServiceRolloutRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -47,49 +26,35 @@ public interface CreateServiceRolloutRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * Required. The rollout resource. The `service_name` field is output only.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
    * Required. The rollout resource. The `service_name` field is output only.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ com.google.api.servicemanagement.v1.Rollout getRollout(); /** - * - * *
    * Required. The rollout resource. The `service_name` field is output only.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutOrBuilder(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequest.java similarity index 68% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequest.java index cbb979d4aeb7..92047bde7519 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for DeleteService method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.DeleteServiceRequest} */ -public final class DeleteServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.DeleteServiceRequest) DeleteServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteServiceRequest.newBuilder() to construct. private DeleteServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteServiceRequest() { serviceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.DeleteServiceRequest.class, - com.google.api.servicemanagement.v1.DeleteServiceRequest.Builder.class); + com.google.api.servicemanagement.v1.DeleteServiceRequest.class, com.google.api.servicemanagement.v1.DeleteServiceRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -79,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -88,15 +66,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -104,15 +81,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -121,7 +99,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +110,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -157,15 +135,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.api.servicemanagement.v1.DeleteServiceRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.DeleteServiceRequest other = - (com.google.api.servicemanagement.v1.DeleteServiceRequest) obj; + com.google.api.servicemanagement.v1.DeleteServiceRequest other = (com.google.api.servicemanagement.v1.DeleteServiceRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,136 +163,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.DeleteServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.DeleteServiceRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.DeleteServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for DeleteService method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.DeleteServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.DeleteServiceRequest) com.google.api.servicemanagement.v1.DeleteServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.DeleteServiceRequest.class, - com.google.api.servicemanagement.v1.DeleteServiceRequest.Builder.class); + com.google.api.servicemanagement.v1.DeleteServiceRequest.class, com.google.api.servicemanagement.v1.DeleteServiceRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.DeleteServiceRequest.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(); @@ -324,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor; } @java.lang.Override @@ -345,8 +316,7 @@ public com.google.api.servicemanagement.v1.DeleteServiceRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.DeleteServiceRequest buildPartial() { - com.google.api.servicemanagement.v1.DeleteServiceRequest result = - new com.google.api.servicemanagement.v1.DeleteServiceRequest(this); + com.google.api.servicemanagement.v1.DeleteServiceRequest result = new com.google.api.servicemanagement.v1.DeleteServiceRequest(this); result.serviceName_ = serviceName_; onBuilt(); return result; @@ -356,39 +326,38 @@ public com.google.api.servicemanagement.v1.DeleteServiceRequest 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.api.servicemanagement.v1.DeleteServiceRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.DeleteServiceRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.DeleteServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.DeleteServiceRequest other) { - if (other == com.google.api.servicemanagement.v1.DeleteServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.DeleteServiceRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -428,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serviceName_ = input.readStringRequireUtf8(); + + 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) { @@ -453,8 +419,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -462,13 +426,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -477,8 +441,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -486,14 +448,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -501,8 +464,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -510,22 +471,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -533,18 +492,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -552,23 +508,23 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = 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); } @@ -578,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.DeleteServiceRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.DeleteServiceRequest) private static final com.google.api.servicemanagement.v1.DeleteServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.DeleteServiceRequest(); } @@ -592,27 +548,27 @@ public static com.google.api.servicemanagement.v1.DeleteServiceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteServiceRequest 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 DeleteServiceRequest 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; @@ -627,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.DeleteServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequestOrBuilder.java similarity index 59% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequestOrBuilder.java index 6939aed28ba6..9160533bb120 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DeleteServiceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface DeleteServiceRequestOrBuilder - extends +public interface DeleteServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.DeleteServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -33,13 +15,10 @@ public interface DeleteServiceRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -47,8 +26,8 @@ public interface DeleteServiceRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Diagnostic.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Diagnostic.java similarity index 69% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Diagnostic.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Diagnostic.java index b0cbe194d41c..6464d4776aa3 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Diagnostic.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Diagnostic.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Represents a diagnostic message (error or warning)
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.Diagnostic} */ -public final class Diagnostic extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Diagnostic extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.Diagnostic) DiagnosticOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Diagnostic.newBuilder() to construct. private Diagnostic(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Diagnostic() { location_ = ""; kind_ = 0; @@ -45,43 +27,39 @@ private Diagnostic() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Diagnostic(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_Diagnostic_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Diagnostic_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.Diagnostic.class, - com.google.api.servicemanagement.v1.Diagnostic.Builder.class); + com.google.api.servicemanagement.v1.Diagnostic.class, com.google.api.servicemanagement.v1.Diagnostic.Builder.class); } /** - * - * *
    * The kind of diagnostic information possible.
    * 
* * Protobuf enum {@code google.api.servicemanagement.v1.Diagnostic.Kind} */ - public enum Kind implements com.google.protobuf.ProtocolMessageEnum { + public enum Kind + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Warnings and errors
      * 
@@ -90,8 +68,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ WARNING(0), /** - * - * *
      * Only errors
      * 
@@ -103,8 +79,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Warnings and errors
      * 
@@ -113,8 +87,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WARNING_VALUE = 0; /** - * - * *
      * Only errors
      * 
@@ -123,6 +95,7 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -147,47 +120,48 @@ public static Kind valueOf(int value) { */ public static Kind forNumber(int value) { switch (value) { - case 0: - return WARNING; - case 1: - return ERROR; - default: - return null; + case 0: return WARNING; + case 1: return ERROR; + 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< + Kind> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Kind findValueByNumber(int number) { + return Kind.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Kind findValueByNumber(int number) { - return Kind.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.api.servicemanagement.v1.Diagnostic.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); - public static Kind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Kind 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; @@ -207,14 +181,11 @@ private Kind(int value) { public static final int LOCATION_FIELD_NUMBER = 1; private volatile java.lang.Object location_; /** - * - * *
    * File name and line number of the error or warning.
    * 
* * string location = 1; - * * @return The location. */ @java.lang.Override @@ -223,29 +194,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * File name and line number of the error or warning.
    * 
* * string location = 1; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -256,52 +227,38 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int KIND_FIELD_NUMBER = 2; private int kind_; /** - * - * *
    * The kind of diagnostic information provided.
    * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
    * The kind of diagnostic information provided.
    * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @return The kind. */ - @java.lang.Override - public com.google.api.servicemanagement.v1.Diagnostic.Kind getKind() { + @java.lang.Override public com.google.api.servicemanagement.v1.Diagnostic.Kind getKind() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.Diagnostic.Kind result = - com.google.api.servicemanagement.v1.Diagnostic.Kind.valueOf(kind_); - return result == null - ? com.google.api.servicemanagement.v1.Diagnostic.Kind.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.Diagnostic.Kind result = com.google.api.servicemanagement.v1.Diagnostic.Kind.valueOf(kind_); + return result == null ? com.google.api.servicemanagement.v1.Diagnostic.Kind.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object message_; /** - * - * *
    * Message describing the error or warning.
    * 
* * string message = 3; - * * @return The message. */ @java.lang.Override @@ -310,29 +267,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Message describing the error or warning.
    * 
* * string message = 3; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -341,7 +298,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -353,7 +309,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(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -376,7 +333,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, location_); } if (kind_ != com.google.api.servicemanagement.v1.Diagnostic.Kind.WARNING.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, kind_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, kind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); @@ -389,17 +347,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.api.servicemanagement.v1.Diagnostic)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.Diagnostic other = - (com.google.api.servicemanagement.v1.Diagnostic) obj; + com.google.api.servicemanagement.v1.Diagnostic other = (com.google.api.servicemanagement.v1.Diagnostic) obj; - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (kind_ != other.kind_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -422,136 +381,130 @@ public int hashCode() { return hash; } - public static com.google.api.servicemanagement.v1.Diagnostic parseFrom(java.nio.ByteBuffer data) + public static com.google.api.servicemanagement.v1.Diagnostic parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.Diagnostic parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.Diagnostic parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.Diagnostic parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.Diagnostic parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.Diagnostic parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.Diagnostic 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.api.servicemanagement.v1.Diagnostic parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.Diagnostic parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.Diagnostic parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.Diagnostic parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.Diagnostic parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.Diagnostic parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.servicemanagement.v1.Diagnostic prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 a diagnostic message (error or warning)
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.Diagnostic} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.Diagnostic) com.google.api.servicemanagement.v1.DiagnosticOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_Diagnostic_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Diagnostic_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.Diagnostic.class, - com.google.api.servicemanagement.v1.Diagnostic.Builder.class); + com.google.api.servicemanagement.v1.Diagnostic.class, com.google.api.servicemanagement.v1.Diagnostic.Builder.class); } // Construct using com.google.api.servicemanagement.v1.Diagnostic.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(); @@ -565,9 +518,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor; } @java.lang.Override @@ -586,8 +539,7 @@ public com.google.api.servicemanagement.v1.Diagnostic build() { @java.lang.Override public com.google.api.servicemanagement.v1.Diagnostic buildPartial() { - com.google.api.servicemanagement.v1.Diagnostic result = - new com.google.api.servicemanagement.v1.Diagnostic(this); + com.google.api.servicemanagement.v1.Diagnostic result = new com.google.api.servicemanagement.v1.Diagnostic(this); result.location_ = location_; result.kind_ = kind_; result.message_ = message_; @@ -599,39 +551,38 @@ public com.google.api.servicemanagement.v1.Diagnostic 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.api.servicemanagement.v1.Diagnostic) { - return mergeFrom((com.google.api.servicemanagement.v1.Diagnostic) other); + return mergeFrom((com.google.api.servicemanagement.v1.Diagnostic)other); } else { super.mergeFrom(other); return this; @@ -677,31 +628,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - location_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - kind_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - message_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + location_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + kind_ = input.readEnum(); + + break; + } // case 16 + case 26: { + message_ = input.readStringRequireUtf8(); + + 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,20 +661,18 @@ public Builder mergeFrom( private java.lang.Object location_ = ""; /** - * - * *
      * File name and line number of the error or warning.
      * 
* * string location = 1; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -736,21 +681,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * File name and line number of the error or warning.
      * 
* * string location = 1; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -758,61 +702,54 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * File name and line number of the error or warning.
      * 
* * string location = 1; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * File name and line number of the error or warning.
      * 
* * string location = 1; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * File name and line number of the error or warning.
      * 
* * string location = 1; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -820,67 +757,51 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private int kind_ = 0; /** - * - * *
      * The kind of diagnostic information provided.
      * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
      * The kind of diagnostic information provided.
      * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @param value The enum numeric value on the wire for kind to set. * @return This builder for chaining. */ public Builder setKindValue(int value) { - + kind_ = value; onChanged(); return this; } /** - * - * *
      * The kind of diagnostic information provided.
      * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @return The kind. */ @java.lang.Override public com.google.api.servicemanagement.v1.Diagnostic.Kind getKind() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.Diagnostic.Kind result = - com.google.api.servicemanagement.v1.Diagnostic.Kind.valueOf(kind_); - return result == null - ? com.google.api.servicemanagement.v1.Diagnostic.Kind.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.Diagnostic.Kind result = com.google.api.servicemanagement.v1.Diagnostic.Kind.valueOf(kind_); + return result == null ? com.google.api.servicemanagement.v1.Diagnostic.Kind.UNRECOGNIZED : result; } /** - * - * *
      * The kind of diagnostic information provided.
      * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @param value The kind to set. * @return This builder for chaining. */ @@ -888,24 +809,21 @@ public Builder setKind(com.google.api.servicemanagement.v1.Diagnostic.Kind value if (value == null) { throw new NullPointerException(); } - + kind_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The kind of diagnostic information provided.
      * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = 0; onChanged(); return this; @@ -913,20 +831,18 @@ public Builder clearKind() { private java.lang.Object message_ = ""; /** - * - * *
      * Message describing the error or warning.
      * 
* * string message = 3; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -935,21 +851,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Message describing the error or warning.
      * 
* * string message = 3; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -957,68 +872,61 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Message describing the error or warning.
      * 
* * string message = 3; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
      * Message describing the error or warning.
      * 
* * string message = 3; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * Message describing the error or warning.
      * 
* * string message = 3; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = 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); } @@ -1028,12 +936,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.Diagnostic) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.Diagnostic) private static final com.google.api.servicemanagement.v1.Diagnostic DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.Diagnostic(); } @@ -1042,27 +950,27 @@ public static com.google.api.servicemanagement.v1.Diagnostic getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Diagnostic 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 Diagnostic 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; @@ -1077,4 +985,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.Diagnostic getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DiagnosticOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DiagnosticOrBuilder.java similarity index 64% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DiagnosticOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DiagnosticOrBuilder.java index 04844a12201a..ac4733705823 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DiagnosticOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/DiagnosticOrBuilder.java @@ -1,100 +1,68 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; -public interface DiagnosticOrBuilder - extends +public interface DiagnosticOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.Diagnostic) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * File name and line number of the error or warning.
    * 
* * string location = 1; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * File name and line number of the error or warning.
    * 
* * string location = 1; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * The kind of diagnostic information provided.
    * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** - * - * *
    * The kind of diagnostic information provided.
    * 
* * .google.api.servicemanagement.v1.Diagnostic.Kind kind = 2; - * * @return The kind. */ com.google.api.servicemanagement.v1.Diagnostic.Kind getKind(); /** - * - * *
    * Message describing the error or warning.
    * 
* * string message = 3; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * Message describing the error or warning.
    * 
* * string message = 3; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequest.java similarity index 76% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequest.java index fcb6926198f8..074967154fb3 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequest.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for GenerateConfigReport method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.GenerateConfigReportRequest} */ -public final class GenerateConfigReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateConfigReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.GenerateConfigReportRequest) GenerateConfigReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateConfigReportRequest.newBuilder() to construct. private GenerateConfigReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GenerateConfigReportRequest() {} + private GenerateConfigReportRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateConfigReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GenerateConfigReportRequest.class, - com.google.api.servicemanagement.v1.GenerateConfigReportRequest.Builder.class); + com.google.api.servicemanagement.v1.GenerateConfigReportRequest.class, com.google.api.servicemanagement.v1.GenerateConfigReportRequest.Builder.class); } public static final int NEW_CONFIG_FIELD_NUMBER = 1; private com.google.protobuf.Any newConfig_; /** - * - * *
    * Required. Service configuration for which we want to generate the report.
    * For this version of API, the supported types are
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the newConfig field is set. */ @java.lang.Override @@ -87,8 +66,6 @@ public boolean hasNewConfig() { return newConfig_ != null; } /** - * - * *
    * Required. Service configuration for which we want to generate the report.
    * For this version of API, the supported types are
@@ -98,7 +75,6 @@ public boolean hasNewConfig() {
    * 
* * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newConfig. */ @java.lang.Override @@ -106,8 +82,6 @@ public com.google.protobuf.Any getNewConfig() { return newConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : newConfig_; } /** - * - * *
    * Required. Service configuration for which we want to generate the report.
    * For this version of API, the supported types are
@@ -126,8 +100,6 @@ public com.google.protobuf.AnyOrBuilder getNewConfigOrBuilder() {
   public static final int OLD_CONFIG_FIELD_NUMBER = 2;
   private com.google.protobuf.Any oldConfig_;
   /**
-   *
-   *
    * 
    * Optional. Service configuration against which the comparison will be done.
    * For this version of API, the supported types are
@@ -137,7 +109,6 @@ public com.google.protobuf.AnyOrBuilder getNewConfigOrBuilder() {
    * 
* * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the oldConfig field is set. */ @java.lang.Override @@ -145,8 +116,6 @@ public boolean hasOldConfig() { return oldConfig_ != null; } /** - * - * *
    * Optional. Service configuration against which the comparison will be done.
    * For this version of API, the supported types are
@@ -156,7 +125,6 @@ public boolean hasOldConfig() {
    * 
* * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The oldConfig. */ @java.lang.Override @@ -164,8 +132,6 @@ public com.google.protobuf.Any getOldConfig() { return oldConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : oldConfig_; } /** - * - * *
    * Optional. Service configuration against which the comparison will be done.
    * For this version of API, the supported types are
@@ -182,7 +148,6 @@ public com.google.protobuf.AnyOrBuilder getOldConfigOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -194,7 +159,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 (newConfig_ != null) {
       output.writeMessage(1, getNewConfig());
     }
@@ -211,10 +177,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (newConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNewConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getNewConfig());
     }
     if (oldConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOldConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOldConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -224,21 +192,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.api.servicemanagement.v1.GenerateConfigReportRequest)) {
       return super.equals(obj);
     }
-    com.google.api.servicemanagement.v1.GenerateConfigReportRequest other =
-        (com.google.api.servicemanagement.v1.GenerateConfigReportRequest) obj;
+    com.google.api.servicemanagement.v1.GenerateConfigReportRequest other = (com.google.api.servicemanagement.v1.GenerateConfigReportRequest) obj;
 
     if (hasNewConfig() != other.hasNewConfig()) return false;
     if (hasNewConfig()) {
-      if (!getNewConfig().equals(other.getNewConfig())) return false;
+      if (!getNewConfig()
+          .equals(other.getNewConfig())) return false;
     }
     if (hasOldConfig() != other.hasOldConfig()) return false;
     if (hasOldConfig()) {
-      if (!getOldConfig().equals(other.getOldConfig())) return false;
+      if (!getOldConfig()
+          .equals(other.getOldConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -265,136 +234,129 @@ public int hashCode() {
   }
 
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.api.servicemanagement.v1.GenerateConfigReportRequest prototype) {
+  public static Builder newBuilder(com.google.api.servicemanagement.v1.GenerateConfigReportRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Request message for GenerateConfigReport method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.GenerateConfigReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.GenerateConfigReportRequest) com.google.api.servicemanagement.v1.GenerateConfigReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GenerateConfigReportRequest.class, - com.google.api.servicemanagement.v1.GenerateConfigReportRequest.Builder.class); + com.google.api.servicemanagement.v1.GenerateConfigReportRequest.class, com.google.api.servicemanagement.v1.GenerateConfigReportRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.GenerateConfigReportRequest.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(); @@ -414,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.GenerateConfigReportRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.GenerateConfigReportRequest getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.GenerateConfigReportRequest.getDefaultInstance(); } @@ -436,8 +397,7 @@ public com.google.api.servicemanagement.v1.GenerateConfigReportRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.GenerateConfigReportRequest buildPartial() { - com.google.api.servicemanagement.v1.GenerateConfigReportRequest result = - new com.google.api.servicemanagement.v1.GenerateConfigReportRequest(this); + com.google.api.servicemanagement.v1.GenerateConfigReportRequest result = new com.google.api.servicemanagement.v1.GenerateConfigReportRequest(this); if (newConfigBuilder_ == null) { result.newConfig_ = newConfig_; } else { @@ -456,50 +416,46 @@ public com.google.api.servicemanagement.v1.GenerateConfigReportRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.GenerateConfigReportRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.GenerateConfigReportRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.GenerateConfigReportRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.api.servicemanagement.v1.GenerateConfigReportRequest other) { - if (other - == com.google.api.servicemanagement.v1.GenerateConfigReportRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.api.servicemanagement.v1.GenerateConfigReportRequest other) { + if (other == com.google.api.servicemanagement.v1.GenerateConfigReportRequest.getDefaultInstance()) return this; if (other.hasNewConfig()) { mergeNewConfig(other.getNewConfig()); } @@ -532,25 +488,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getNewConfigFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getNewConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getOldConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getOldConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -563,13 +520,8 @@ public Builder mergeFrom( private com.google.protobuf.Any newConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, - com.google.protobuf.Any.Builder, - com.google.protobuf.AnyOrBuilder> - newConfigBuilder_; + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> newConfigBuilder_; /** - * - * *
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -579,15 +531,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the newConfig field is set. */ public boolean hasNewConfig() { return newConfigBuilder_ != null || newConfig_ != null; } /** - * - * *
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -597,7 +546,6 @@ public boolean hasNewConfig() {
      * 
* * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newConfig. */ public com.google.protobuf.Any getNewConfig() { @@ -608,8 +556,6 @@ public com.google.protobuf.Any getNewConfig() { } } /** - * - * *
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -634,8 +580,6 @@ public Builder setNewConfig(com.google.protobuf.Any value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -646,7 +590,8 @@ public Builder setNewConfig(com.google.protobuf.Any value) {
      *
      * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setNewConfig(com.google.protobuf.Any.Builder builderForValue) {
+    public Builder setNewConfig(
+        com.google.protobuf.Any.Builder builderForValue) {
       if (newConfigBuilder_ == null) {
         newConfig_ = builderForValue.build();
         onChanged();
@@ -657,8 +602,6 @@ public Builder setNewConfig(com.google.protobuf.Any.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -673,7 +616,7 @@ public Builder mergeNewConfig(com.google.protobuf.Any value) {
       if (newConfigBuilder_ == null) {
         if (newConfig_ != null) {
           newConfig_ =
-              com.google.protobuf.Any.newBuilder(newConfig_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Any.newBuilder(newConfig_).mergeFrom(value).buildPartial();
         } else {
           newConfig_ = value;
         }
@@ -685,8 +628,6 @@ public Builder mergeNewConfig(com.google.protobuf.Any value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -709,8 +650,6 @@ public Builder clearNewConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -722,13 +661,11 @@ public Builder clearNewConfig() {
      * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.protobuf.Any.Builder getNewConfigBuilder() {
-
+      
       onChanged();
       return getNewConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -743,12 +680,11 @@ public com.google.protobuf.AnyOrBuilder getNewConfigOrBuilder() {
       if (newConfigBuilder_ != null) {
         return newConfigBuilder_.getMessageOrBuilder();
       } else {
-        return newConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : newConfig_;
+        return newConfig_ == null ?
+            com.google.protobuf.Any.getDefaultInstance() : newConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. Service configuration for which we want to generate the report.
      * For this version of API, the supported types are
@@ -760,17 +696,14 @@ public com.google.protobuf.AnyOrBuilder getNewConfigOrBuilder() {
      * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Any,
-            com.google.protobuf.Any.Builder,
-            com.google.protobuf.AnyOrBuilder>
+        com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> 
         getNewConfigFieldBuilder() {
       if (newConfigBuilder_ == null) {
-        newConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Any,
-                com.google.protobuf.Any.Builder,
-                com.google.protobuf.AnyOrBuilder>(
-                getNewConfig(), getParentForChildren(), isClean());
+        newConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
+                getNewConfig(),
+                getParentForChildren(),
+                isClean());
         newConfig_ = null;
       }
       return newConfigBuilder_;
@@ -778,13 +711,8 @@ public com.google.protobuf.AnyOrBuilder getNewConfigOrBuilder() {
 
     private com.google.protobuf.Any oldConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Any,
-            com.google.protobuf.Any.Builder,
-            com.google.protobuf.AnyOrBuilder>
-        oldConfigBuilder_;
+        com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> oldConfigBuilder_;
     /**
-     *
-     *
      * 
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -794,15 +722,12 @@ public com.google.protobuf.AnyOrBuilder getNewConfigOrBuilder() {
      * 
* * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the oldConfig field is set. */ public boolean hasOldConfig() { return oldConfigBuilder_ != null || oldConfig_ != null; } /** - * - * *
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -812,7 +737,6 @@ public boolean hasOldConfig() {
      * 
* * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The oldConfig. */ public com.google.protobuf.Any getOldConfig() { @@ -823,8 +747,6 @@ public com.google.protobuf.Any getOldConfig() { } } /** - * - * *
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -849,8 +771,6 @@ public Builder setOldConfig(com.google.protobuf.Any value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -861,7 +781,8 @@ public Builder setOldConfig(com.google.protobuf.Any value) {
      *
      * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder setOldConfig(com.google.protobuf.Any.Builder builderForValue) {
+    public Builder setOldConfig(
+        com.google.protobuf.Any.Builder builderForValue) {
       if (oldConfigBuilder_ == null) {
         oldConfig_ = builderForValue.build();
         onChanged();
@@ -872,8 +793,6 @@ public Builder setOldConfig(com.google.protobuf.Any.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -888,7 +807,7 @@ public Builder mergeOldConfig(com.google.protobuf.Any value) {
       if (oldConfigBuilder_ == null) {
         if (oldConfig_ != null) {
           oldConfig_ =
-              com.google.protobuf.Any.newBuilder(oldConfig_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Any.newBuilder(oldConfig_).mergeFrom(value).buildPartial();
         } else {
           oldConfig_ = value;
         }
@@ -900,8 +819,6 @@ public Builder mergeOldConfig(com.google.protobuf.Any value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -924,8 +841,6 @@ public Builder clearOldConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -937,13 +852,11 @@ public Builder clearOldConfig() {
      * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL];
      */
     public com.google.protobuf.Any.Builder getOldConfigBuilder() {
-
+      
       onChanged();
       return getOldConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -958,12 +871,11 @@ public com.google.protobuf.AnyOrBuilder getOldConfigOrBuilder() {
       if (oldConfigBuilder_ != null) {
         return oldConfigBuilder_.getMessageOrBuilder();
       } else {
-        return oldConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : oldConfig_;
+        return oldConfig_ == null ?
+            com.google.protobuf.Any.getDefaultInstance() : oldConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Optional. Service configuration against which the comparison will be done.
      * For this version of API, the supported types are
@@ -975,24 +887,21 @@ public com.google.protobuf.AnyOrBuilder getOldConfigOrBuilder() {
      * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Any,
-            com.google.protobuf.Any.Builder,
-            com.google.protobuf.AnyOrBuilder>
+        com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> 
         getOldConfigFieldBuilder() {
       if (oldConfigBuilder_ == null) {
-        oldConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Any,
-                com.google.protobuf.Any.Builder,
-                com.google.protobuf.AnyOrBuilder>(
-                getOldConfig(), getParentForChildren(), isClean());
+        oldConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
+                getOldConfig(),
+                getParentForChildren(),
+                isClean());
         oldConfig_ = null;
       }
       return oldConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1002,43 +911,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.GenerateConfigReportRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.GenerateConfigReportRequest)
-  private static final com.google.api.servicemanagement.v1.GenerateConfigReportRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.api.servicemanagement.v1.GenerateConfigReportRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.GenerateConfigReportRequest();
   }
 
-  public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest
-      getDefaultInstance() {
+  public static com.google.api.servicemanagement.v1.GenerateConfigReportRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GenerateConfigReportRequest 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 GenerateConfigReportRequest 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;
@@ -1050,8 +957,9 @@ public com.google.protobuf.Parser getParserForType(
   }
 
   @java.lang.Override
-  public com.google.api.servicemanagement.v1.GenerateConfigReportRequest
-      getDefaultInstanceForType() {
+  public com.google.api.servicemanagement.v1.GenerateConfigReportRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequestOrBuilder.java
similarity index 83%
rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequestOrBuilder.java
rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequestOrBuilder.java
index 5f9b2caed56f..93200d6597f7 100644
--- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequestOrBuilder.java
+++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/api/servicemanagement/v1/servicemanager.proto
 
 package com.google.api.servicemanagement.v1;
 
-public interface GenerateConfigReportRequestOrBuilder
-    extends
+public interface GenerateConfigReportRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.GenerateConfigReportRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Service configuration for which we want to generate the report.
    * For this version of API, the supported types are
@@ -35,13 +17,10 @@ public interface GenerateConfigReportRequestOrBuilder
    * 
* * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the newConfig field is set. */ boolean hasNewConfig(); /** - * - * *
    * Required. Service configuration for which we want to generate the report.
    * For this version of API, the supported types are
@@ -51,13 +30,10 @@ public interface GenerateConfigReportRequestOrBuilder
    * 
* * .google.protobuf.Any new_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newConfig. */ com.google.protobuf.Any getNewConfig(); /** - * - * *
    * Required. Service configuration for which we want to generate the report.
    * For this version of API, the supported types are
@@ -71,8 +47,6 @@ public interface GenerateConfigReportRequestOrBuilder
   com.google.protobuf.AnyOrBuilder getNewConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. Service configuration against which the comparison will be done.
    * For this version of API, the supported types are
@@ -82,13 +56,10 @@ public interface GenerateConfigReportRequestOrBuilder
    * 
* * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the oldConfig field is set. */ boolean hasOldConfig(); /** - * - * *
    * Optional. Service configuration against which the comparison will be done.
    * For this version of API, the supported types are
@@ -98,13 +69,10 @@ public interface GenerateConfigReportRequestOrBuilder
    * 
* * .google.protobuf.Any old_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The oldConfig. */ com.google.protobuf.Any getOldConfig(); /** - * - * *
    * Optional. Service configuration against which the comparison will be done.
    * For this version of API, the supported types are
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponse.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponse.java
similarity index 75%
rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponse.java
rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponse.java
index 5c60f14760a9..2dc1de51d0b4 100644
--- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponse.java
+++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponse.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/api/servicemanagement/v1/servicemanager.proto
 
 package com.google.api.servicemanagement.v1;
 
 /**
- *
- *
  * 
  * Response message for GenerateConfigReport method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.GenerateConfigReportResponse} */ -public final class GenerateConfigReportResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateConfigReportResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.GenerateConfigReportResponse) GenerateConfigReportResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateConfigReportResponse.newBuilder() to construct. private GenerateConfigReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateConfigReportResponse() { serviceName_ = ""; id_ = ""; @@ -46,41 +28,37 @@ private GenerateConfigReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateConfigReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GenerateConfigReportResponse.class, - com.google.api.servicemanagement.v1.GenerateConfigReportResponse.Builder.class); + com.google.api.servicemanagement.v1.GenerateConfigReportResponse.class, com.google.api.servicemanagement.v1.GenerateConfigReportResponse.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Name of the service this report belongs to.
    * 
* * string service_name = 1; - * * @return The serviceName. */ @java.lang.Override @@ -89,29 +67,29 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Name of the service this report belongs to.
    * 
* * string service_name = 1; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -122,14 +100,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** - * - * *
    * ID of the service configuration this report belongs to.
    * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -138,29 +113,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * ID of the service configuration this report belongs to.
    * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -171,8 +146,6 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CHANGE_REPORTS_FIELD_NUMBER = 3; private java.util.List changeReports_; /** - * - * *
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -185,8 +158,6 @@ public java.util.List getChang
     return changeReports_;
   }
   /**
-   *
-   *
    * 
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -195,13 +166,11 @@ public java.util.List getChang
    * repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getChangeReportsOrBuilderList() {
     return changeReports_;
   }
   /**
-   *
-   *
    * 
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -214,8 +183,6 @@ public int getChangeReportsCount() {
     return changeReports_.size();
   }
   /**
-   *
-   *
    * 
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -228,8 +195,6 @@ public com.google.api.servicemanagement.v1.ChangeReport getChangeReports(int ind
     return changeReports_.get(index);
   }
   /**
-   *
-   *
    * 
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -246,8 +211,6 @@ public com.google.api.servicemanagement.v1.ChangeReportOrBuilder getChangeReport
   public static final int DIAGNOSTICS_FIELD_NUMBER = 4;
   private java.util.List diagnostics_;
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -261,8 +224,6 @@ public java.util.List getDiagnos
     return diagnostics_;
   }
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -272,13 +233,11 @@ public java.util.List getDiagnos
    * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDiagnosticsOrBuilderList() {
     return diagnostics_;
   }
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -292,8 +251,6 @@ public int getDiagnosticsCount() {
     return diagnostics_.size();
   }
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -307,8 +264,6 @@ public com.google.api.servicemanagement.v1.Diagnostic getDiagnostics(int index)
     return diagnostics_.get(index);
   }
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -324,7 +279,6 @@ public com.google.api.servicemanagement.v1.DiagnosticOrBuilder getDiagnosticsOrB
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -336,7 +290,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
     }
@@ -365,10 +320,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
     }
     for (int i = 0; i < changeReports_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, changeReports_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, changeReports_.get(i));
     }
     for (int i = 0; i < diagnostics_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, diagnostics_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, diagnostics_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -378,18 +335,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.api.servicemanagement.v1.GenerateConfigReportResponse)) {
       return super.equals(obj);
     }
-    com.google.api.servicemanagement.v1.GenerateConfigReportResponse other =
-        (com.google.api.servicemanagement.v1.GenerateConfigReportResponse) obj;
+    com.google.api.servicemanagement.v1.GenerateConfigReportResponse other = (com.google.api.servicemanagement.v1.GenerateConfigReportResponse) obj;
 
-    if (!getServiceName().equals(other.getServiceName())) return false;
-    if (!getId().equals(other.getId())) return false;
-    if (!getChangeReportsList().equals(other.getChangeReportsList())) return false;
-    if (!getDiagnosticsList().equals(other.getDiagnosticsList())) return false;
+    if (!getServiceName()
+        .equals(other.getServiceName())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
+    if (!getChangeReportsList()
+        .equals(other.getChangeReportsList())) return false;
+    if (!getDiagnosticsList()
+        .equals(other.getDiagnosticsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -419,136 +379,129 @@ public int hashCode() {
   }
 
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.api.servicemanagement.v1.GenerateConfigReportResponse prototype) {
+  public static Builder newBuilder(com.google.api.servicemanagement.v1.GenerateConfigReportResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Response message for GenerateConfigReport method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.GenerateConfigReportResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.GenerateConfigReportResponse) com.google.api.servicemanagement.v1.GenerateConfigReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GenerateConfigReportResponse.class, - com.google.api.servicemanagement.v1.GenerateConfigReportResponse.Builder.class); + com.google.api.servicemanagement.v1.GenerateConfigReportResponse.class, com.google.api.servicemanagement.v1.GenerateConfigReportResponse.Builder.class); } // Construct using com.google.api.servicemanagement.v1.GenerateConfigReportResponse.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(); @@ -574,14 +527,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.GenerateConfigReportResponse - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.GenerateConfigReportResponse getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.GenerateConfigReportResponse.getDefaultInstance(); } @@ -596,8 +548,7 @@ public com.google.api.servicemanagement.v1.GenerateConfigReportResponse build() @java.lang.Override public com.google.api.servicemanagement.v1.GenerateConfigReportResponse buildPartial() { - com.google.api.servicemanagement.v1.GenerateConfigReportResponse result = - new com.google.api.servicemanagement.v1.GenerateConfigReportResponse(this); + com.google.api.servicemanagement.v1.GenerateConfigReportResponse result = new com.google.api.servicemanagement.v1.GenerateConfigReportResponse(this); int from_bitField0_ = bitField0_; result.serviceName_ = serviceName_; result.id_ = id_; @@ -627,50 +578,46 @@ public com.google.api.servicemanagement.v1.GenerateConfigReportResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.GenerateConfigReportResponse) { - return mergeFrom((com.google.api.servicemanagement.v1.GenerateConfigReportResponse) other); + return mergeFrom((com.google.api.servicemanagement.v1.GenerateConfigReportResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.api.servicemanagement.v1.GenerateConfigReportResponse other) { - if (other - == com.google.api.servicemanagement.v1.GenerateConfigReportResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.api.servicemanagement.v1.GenerateConfigReportResponse other) { + if (other == com.google.api.servicemanagement.v1.GenerateConfigReportResponse.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -697,10 +644,9 @@ public Builder mergeFrom( changeReportsBuilder_ = null; changeReports_ = other.changeReports_; bitField0_ = (bitField0_ & ~0x00000001); - changeReportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChangeReportsFieldBuilder() - : null; + changeReportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChangeReportsFieldBuilder() : null; } else { changeReportsBuilder_.addAllMessages(other.changeReports_); } @@ -724,10 +670,9 @@ public Builder mergeFrom( diagnosticsBuilder_ = null; diagnostics_ = other.diagnostics_; bitField0_ = (bitField0_ & ~0x00000002); - diagnosticsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDiagnosticsFieldBuilder() - : null; + diagnosticsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDiagnosticsFieldBuilder() : null; } else { diagnosticsBuilder_.addAllMessages(other.diagnostics_); } @@ -759,52 +704,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); + case 10: { + serviceName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - id_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + id_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - com.google.api.servicemanagement.v1.ChangeReport m = - input.readMessage( - com.google.api.servicemanagement.v1.ChangeReport.parser(), - extensionRegistry); - if (changeReportsBuilder_ == null) { - ensureChangeReportsIsMutable(); - changeReports_.add(m); - } else { - changeReportsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - com.google.api.servicemanagement.v1.Diagnostic m = - input.readMessage( - com.google.api.servicemanagement.v1.Diagnostic.parser(), extensionRegistry); - if (diagnosticsBuilder_ == null) { - ensureDiagnosticsIsMutable(); - diagnostics_.add(m); - } else { - diagnosticsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: { + com.google.api.servicemanagement.v1.ChangeReport m = + input.readMessage( + com.google.api.servicemanagement.v1.ChangeReport.parser(), + extensionRegistry); + if (changeReportsBuilder_ == null) { + ensureChangeReportsIsMutable(); + changeReports_.add(m); + } else { + changeReportsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.google.api.servicemanagement.v1.Diagnostic m = + input.readMessage( + com.google.api.servicemanagement.v1.Diagnostic.parser(), + extensionRegistry); + if (diagnosticsBuilder_ == null) { + ensureDiagnosticsIsMutable(); + diagnostics_.add(m); + } else { + diagnosticsBuilder_.addMessage(m); + } + 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) { @@ -814,25 +755,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object serviceName_ = ""; /** - * - * *
      * Name of the service this report belongs to.
      * 
* * string service_name = 1; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -841,21 +779,20 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Name of the service this report belongs to.
      * 
* * string service_name = 1; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -863,61 +800,54 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Name of the service this report belongs to.
      * 
* * string service_name = 1; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Name of the service this report belongs to.
      * 
* * string service_name = 1; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Name of the service this report belongs to.
      * 
* * string service_name = 1; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -925,20 +855,18 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object id_ = ""; /** - * - * *
      * ID of the service configuration this report belongs to.
      * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -947,21 +875,20 @@ public java.lang.String getId() { } } /** - * - * *
      * ID of the service configuration this report belongs to.
      * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -969,87 +896,72 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * ID of the service configuration this report belongs to.
      * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * ID of the service configuration this report belongs to.
      * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * ID of the service configuration this report belongs to.
      * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private java.util.List changeReports_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChangeReportsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - changeReports_ = - new java.util.ArrayList( - changeReports_); + changeReports_ = new java.util.ArrayList(changeReports_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.ChangeReport, - com.google.api.servicemanagement.v1.ChangeReport.Builder, - com.google.api.servicemanagement.v1.ChangeReportOrBuilder> - changeReportsBuilder_; + com.google.api.servicemanagement.v1.ChangeReport, com.google.api.servicemanagement.v1.ChangeReport.Builder, com.google.api.servicemanagement.v1.ChangeReportOrBuilder> changeReportsBuilder_; /** - * - * *
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1065,8 +977,6 @@ public java.util.List getChang
       }
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1082,8 +992,6 @@ public int getChangeReportsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1099,8 +1007,6 @@ public com.google.api.servicemanagement.v1.ChangeReport getChangeReports(int ind
       }
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1123,8 +1029,6 @@ public Builder setChangeReports(
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1144,8 +1048,6 @@ public Builder setChangeReports(
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1167,8 +1069,6 @@ public Builder addChangeReports(com.google.api.servicemanagement.v1.ChangeReport
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1191,8 +1091,6 @@ public Builder addChangeReports(
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1212,8 +1110,6 @@ public Builder addChangeReports(
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1233,8 +1129,6 @@ public Builder addChangeReports(
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1246,7 +1140,8 @@ public Builder addAllChangeReports(
         java.lang.Iterable values) {
       if (changeReportsBuilder_ == null) {
         ensureChangeReportsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changeReports_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, changeReports_);
         onChanged();
       } else {
         changeReportsBuilder_.addAllMessages(values);
@@ -1254,8 +1149,6 @@ public Builder addAllChangeReports(
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1274,8 +1167,6 @@ public Builder clearChangeReports() {
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1294,8 +1185,6 @@ public Builder removeChangeReports(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1308,8 +1197,6 @@ public com.google.api.servicemanagement.v1.ChangeReport.Builder getChangeReports
       return getChangeReportsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1320,14 +1207,11 @@ public com.google.api.servicemanagement.v1.ChangeReport.Builder getChangeReports
     public com.google.api.servicemanagement.v1.ChangeReportOrBuilder getChangeReportsOrBuilder(
         int index) {
       if (changeReportsBuilder_ == null) {
-        return changeReports_.get(index);
-      } else {
+        return changeReports_.get(index);  } else {
         return changeReportsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1335,8 +1219,8 @@ public com.google.api.servicemanagement.v1.ChangeReportOrBuilder getChangeReport
      *
      * repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;
      */
-    public java.util.List
-        getChangeReportsOrBuilderList() {
+    public java.util.List 
+         getChangeReportsOrBuilderList() {
       if (changeReportsBuilder_ != null) {
         return changeReportsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1344,8 +1228,6 @@ public com.google.api.servicemanagement.v1.ChangeReportOrBuilder getChangeReport
       }
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1354,12 +1236,10 @@ public com.google.api.servicemanagement.v1.ChangeReportOrBuilder getChangeReport
      * repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;
      */
     public com.google.api.servicemanagement.v1.ChangeReport.Builder addChangeReportsBuilder() {
-      return getChangeReportsFieldBuilder()
-          .addBuilder(com.google.api.servicemanagement.v1.ChangeReport.getDefaultInstance());
+      return getChangeReportsFieldBuilder().addBuilder(
+          com.google.api.servicemanagement.v1.ChangeReport.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1369,12 +1249,10 @@ public com.google.api.servicemanagement.v1.ChangeReport.Builder addChangeReports
      */
     public com.google.api.servicemanagement.v1.ChangeReport.Builder addChangeReportsBuilder(
         int index) {
-      return getChangeReportsFieldBuilder()
-          .addBuilder(index, com.google.api.servicemanagement.v1.ChangeReport.getDefaultInstance());
+      return getChangeReportsFieldBuilder().addBuilder(
+          index, com.google.api.servicemanagement.v1.ChangeReport.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * list of ChangeReport, each corresponding to comparison between two
      * service configurations.
@@ -1382,22 +1260,16 @@ public com.google.api.servicemanagement.v1.ChangeReport.Builder addChangeReports
      *
      * repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;
      */
-    public java.util.List
-        getChangeReportsBuilderList() {
+    public java.util.List 
+         getChangeReportsBuilderList() {
       return getChangeReportsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.servicemanagement.v1.ChangeReport,
-            com.google.api.servicemanagement.v1.ChangeReport.Builder,
-            com.google.api.servicemanagement.v1.ChangeReportOrBuilder>
+        com.google.api.servicemanagement.v1.ChangeReport, com.google.api.servicemanagement.v1.ChangeReport.Builder, com.google.api.servicemanagement.v1.ChangeReportOrBuilder> 
         getChangeReportsFieldBuilder() {
       if (changeReportsBuilder_ == null) {
-        changeReportsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.api.servicemanagement.v1.ChangeReport,
-                com.google.api.servicemanagement.v1.ChangeReport.Builder,
-                com.google.api.servicemanagement.v1.ChangeReportOrBuilder>(
+        changeReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.api.servicemanagement.v1.ChangeReport, com.google.api.servicemanagement.v1.ChangeReport.Builder, com.google.api.servicemanagement.v1.ChangeReportOrBuilder>(
                 changeReports_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1408,25 +1280,18 @@ public com.google.api.servicemanagement.v1.ChangeReport.Builder addChangeReports
     }
 
     private java.util.List diagnostics_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureDiagnosticsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        diagnostics_ =
-            new java.util.ArrayList(diagnostics_);
+        diagnostics_ = new java.util.ArrayList(diagnostics_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.servicemanagement.v1.Diagnostic,
-            com.google.api.servicemanagement.v1.Diagnostic.Builder,
-            com.google.api.servicemanagement.v1.DiagnosticOrBuilder>
-        diagnosticsBuilder_;
+        com.google.api.servicemanagement.v1.Diagnostic, com.google.api.servicemanagement.v1.Diagnostic.Builder, com.google.api.servicemanagement.v1.DiagnosticOrBuilder> diagnosticsBuilder_;
 
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1443,8 +1308,6 @@ public java.util.List getDiagnos
       }
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1461,8 +1324,6 @@ public int getDiagnosticsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1479,8 +1340,6 @@ public com.google.api.servicemanagement.v1.Diagnostic getDiagnostics(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1489,7 +1348,8 @@ public com.google.api.servicemanagement.v1.Diagnostic getDiagnostics(int index)
      *
      * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
      */
-    public Builder setDiagnostics(int index, com.google.api.servicemanagement.v1.Diagnostic value) {
+    public Builder setDiagnostics(
+        int index, com.google.api.servicemanagement.v1.Diagnostic value) {
       if (diagnosticsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1503,8 +1363,6 @@ public Builder setDiagnostics(int index, com.google.api.servicemanagement.v1.Dia
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1525,8 +1383,6 @@ public Builder setDiagnostics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1549,8 +1405,6 @@ public Builder addDiagnostics(com.google.api.servicemanagement.v1.Diagnostic val
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1559,7 +1413,8 @@ public Builder addDiagnostics(com.google.api.servicemanagement.v1.Diagnostic val
      *
      * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
      */
-    public Builder addDiagnostics(int index, com.google.api.servicemanagement.v1.Diagnostic value) {
+    public Builder addDiagnostics(
+        int index, com.google.api.servicemanagement.v1.Diagnostic value) {
       if (diagnosticsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1573,8 +1428,6 @@ public Builder addDiagnostics(int index, com.google.api.servicemanagement.v1.Dia
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1595,8 +1448,6 @@ public Builder addDiagnostics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1617,8 +1468,6 @@ public Builder addDiagnostics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1631,7 +1480,8 @@ public Builder addAllDiagnostics(
         java.lang.Iterable values) {
       if (diagnosticsBuilder_ == null) {
         ensureDiagnosticsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, diagnostics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, diagnostics_);
         onChanged();
       } else {
         diagnosticsBuilder_.addAllMessages(values);
@@ -1639,8 +1489,6 @@ public Builder addAllDiagnostics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1660,8 +1508,6 @@ public Builder clearDiagnostics() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1681,8 +1527,6 @@ public Builder removeDiagnostics(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1691,12 +1535,11 @@ public Builder removeDiagnostics(int index) {
      *
      * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
      */
-    public com.google.api.servicemanagement.v1.Diagnostic.Builder getDiagnosticsBuilder(int index) {
+    public com.google.api.servicemanagement.v1.Diagnostic.Builder getDiagnosticsBuilder(
+        int index) {
       return getDiagnosticsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1708,14 +1551,11 @@ public com.google.api.servicemanagement.v1.Diagnostic.Builder getDiagnosticsBuil
     public com.google.api.servicemanagement.v1.DiagnosticOrBuilder getDiagnosticsOrBuilder(
         int index) {
       if (diagnosticsBuilder_ == null) {
-        return diagnostics_.get(index);
-      } else {
+        return diagnostics_.get(index);  } else {
         return diagnosticsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1724,8 +1564,8 @@ public com.google.api.servicemanagement.v1.DiagnosticOrBuilder getDiagnosticsOrB
      *
      * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
      */
-    public java.util.List
-        getDiagnosticsOrBuilderList() {
+    public java.util.List 
+         getDiagnosticsOrBuilderList() {
       if (diagnosticsBuilder_ != null) {
         return diagnosticsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1733,8 +1573,6 @@ public com.google.api.servicemanagement.v1.DiagnosticOrBuilder getDiagnosticsOrB
       }
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1744,12 +1582,10 @@ public com.google.api.servicemanagement.v1.DiagnosticOrBuilder getDiagnosticsOrB
      * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
      */
     public com.google.api.servicemanagement.v1.Diagnostic.Builder addDiagnosticsBuilder() {
-      return getDiagnosticsFieldBuilder()
-          .addBuilder(com.google.api.servicemanagement.v1.Diagnostic.getDefaultInstance());
+      return getDiagnosticsFieldBuilder().addBuilder(
+          com.google.api.servicemanagement.v1.Diagnostic.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1758,13 +1594,12 @@ public com.google.api.servicemanagement.v1.Diagnostic.Builder addDiagnosticsBuil
      *
      * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
      */
-    public com.google.api.servicemanagement.v1.Diagnostic.Builder addDiagnosticsBuilder(int index) {
-      return getDiagnosticsFieldBuilder()
-          .addBuilder(index, com.google.api.servicemanagement.v1.Diagnostic.getDefaultInstance());
+    public com.google.api.servicemanagement.v1.Diagnostic.Builder addDiagnosticsBuilder(
+        int index) {
+      return getDiagnosticsFieldBuilder().addBuilder(
+          index, com.google.api.servicemanagement.v1.Diagnostic.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Errors / Linter warnings associated with the service definition this
      * report
@@ -1773,30 +1608,27 @@ public com.google.api.servicemanagement.v1.Diagnostic.Builder addDiagnosticsBuil
      *
      * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
      */
-    public java.util.List
-        getDiagnosticsBuilderList() {
+    public java.util.List 
+         getDiagnosticsBuilderList() {
       return getDiagnosticsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.servicemanagement.v1.Diagnostic,
-            com.google.api.servicemanagement.v1.Diagnostic.Builder,
-            com.google.api.servicemanagement.v1.DiagnosticOrBuilder>
+        com.google.api.servicemanagement.v1.Diagnostic, com.google.api.servicemanagement.v1.Diagnostic.Builder, com.google.api.servicemanagement.v1.DiagnosticOrBuilder> 
         getDiagnosticsFieldBuilder() {
       if (diagnosticsBuilder_ == null) {
-        diagnosticsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.api.servicemanagement.v1.Diagnostic,
-                com.google.api.servicemanagement.v1.Diagnostic.Builder,
-                com.google.api.servicemanagement.v1.DiagnosticOrBuilder>(
-                diagnostics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        diagnosticsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.api.servicemanagement.v1.Diagnostic, com.google.api.servicemanagement.v1.Diagnostic.Builder, com.google.api.servicemanagement.v1.DiagnosticOrBuilder>(
+                diagnostics_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         diagnostics_ = null;
       }
       return diagnosticsBuilder_;
     }
-
     @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);
     }
 
@@ -1806,43 +1638,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.GenerateConfigReportResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.GenerateConfigReportResponse)
-  private static final com.google.api.servicemanagement.v1.GenerateConfigReportResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.api.servicemanagement.v1.GenerateConfigReportResponse DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.GenerateConfigReportResponse();
   }
 
-  public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse
-      getDefaultInstance() {
+  public static com.google.api.servicemanagement.v1.GenerateConfigReportResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GenerateConfigReportResponse 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 GenerateConfigReportResponse 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;
@@ -1854,8 +1684,9 @@ public com.google.protobuf.Parser getParserForType
   }
 
   @java.lang.Override
-  public com.google.api.servicemanagement.v1.GenerateConfigReportResponse
-      getDefaultInstanceForType() {
+  public com.google.api.servicemanagement.v1.GenerateConfigReportResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponseOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponseOrBuilder.java
similarity index 78%
rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponseOrBuilder.java
rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponseOrBuilder.java
index 5772a3e67ce2..715712adac3b 100644
--- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponseOrBuilder.java
+++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GenerateConfigReportResponseOrBuilder.java
@@ -1,81 +1,53 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/api/servicemanagement/v1/servicemanager.proto
 
 package com.google.api.servicemanagement.v1;
 
-public interface GenerateConfigReportResponseOrBuilder
-    extends
+public interface GenerateConfigReportResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.GenerateConfigReportResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Name of the service this report belongs to.
    * 
* * string service_name = 1; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Name of the service this report belongs to.
    * 
* * string service_name = 1; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * ID of the service configuration this report belongs to.
    * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * ID of the service configuration this report belongs to.
    * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -83,10 +55,9 @@ public interface GenerateConfigReportResponseOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;
    */
-  java.util.List getChangeReportsList();
+  java.util.List 
+      getChangeReportsList();
   /**
-   *
-   *
    * 
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -96,8 +67,6 @@ public interface GenerateConfigReportResponseOrBuilder
    */
   com.google.api.servicemanagement.v1.ChangeReport getChangeReports(int index);
   /**
-   *
-   *
    * 
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -107,8 +76,6 @@ public interface GenerateConfigReportResponseOrBuilder
    */
   int getChangeReportsCount();
   /**
-   *
-   *
    * 
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -116,11 +83,9 @@ public interface GenerateConfigReportResponseOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;
    */
-  java.util.List
+  java.util.List 
       getChangeReportsOrBuilderList();
   /**
-   *
-   *
    * 
    * list of ChangeReport, each corresponding to comparison between two
    * service configurations.
@@ -128,11 +93,10 @@ public interface GenerateConfigReportResponseOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;
    */
-  com.google.api.servicemanagement.v1.ChangeReportOrBuilder getChangeReportsOrBuilder(int index);
+  com.google.api.servicemanagement.v1.ChangeReportOrBuilder getChangeReportsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -141,10 +105,9 @@ public interface GenerateConfigReportResponseOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
    */
-  java.util.List getDiagnosticsList();
+  java.util.List 
+      getDiagnosticsList();
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -155,8 +118,6 @@ public interface GenerateConfigReportResponseOrBuilder
    */
   com.google.api.servicemanagement.v1.Diagnostic getDiagnostics(int index);
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -167,8 +128,6 @@ public interface GenerateConfigReportResponseOrBuilder
    */
   int getDiagnosticsCount();
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -177,11 +136,9 @@ public interface GenerateConfigReportResponseOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
    */
-  java.util.List
+  java.util.List 
       getDiagnosticsOrBuilderList();
   /**
-   *
-   *
    * 
    * Errors / Linter warnings associated with the service definition this
    * report
@@ -190,5 +147,6 @@ public interface GenerateConfigReportResponseOrBuilder
    *
    * repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;
    */
-  com.google.api.servicemanagement.v1.DiagnosticOrBuilder getDiagnosticsOrBuilder(int index);
+  com.google.api.servicemanagement.v1.DiagnosticOrBuilder getDiagnosticsOrBuilder(
+      int index);
 }
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequest.java
similarity index 70%
rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequest.java
rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequest.java
index 456e41df9ae6..6b8e1efc3422 100644
--- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequest.java
+++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/api/servicemanagement/v1/servicemanager.proto
 
 package com.google.api.servicemanagement.v1;
 
 /**
- *
- *
  * 
  * Request message for GetServiceConfig method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.GetServiceConfigRequest} */ -public final class GetServiceConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetServiceConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.GetServiceConfigRequest) GetServiceConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetServiceConfigRequest.newBuilder() to construct. private GetServiceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetServiceConfigRequest() { serviceName_ = ""; configId_ = ""; @@ -45,35 +27,35 @@ private GetServiceConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetServiceConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GetServiceConfigRequest.class, - com.google.api.servicemanagement.v1.GetServiceConfigRequest.Builder.class); + com.google.api.servicemanagement.v1.GetServiceConfigRequest.class, com.google.api.servicemanagement.v1.GetServiceConfigRequest.Builder.class); } - /** Protobuf enum {@code google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView} */ - public enum ConfigView implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView} + */ + public enum ConfigView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Server response includes all fields except SourceInfo.
      * 
@@ -82,8 +64,6 @@ public enum ConfigView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(0), /** - * - * *
      * Server response includes all fields including SourceInfo.
      * SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile'
@@ -98,8 +78,6 @@ public enum ConfigView implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Server response includes all fields except SourceInfo.
      * 
@@ -108,8 +86,6 @@ public enum ConfigView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 0; /** - * - * *
      * Server response includes all fields including SourceInfo.
      * SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile'
@@ -121,6 +97,7 @@ public enum ConfigView implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -145,49 +122,48 @@ public static ConfigView valueOf(int value) {
      */
     public static ConfigView forNumber(int value) {
       switch (value) {
-        case 0:
-          return BASIC;
-        case 1:
-          return FULL;
-        default:
-          return null;
+        case 0: return BASIC;
+        case 1: return FULL;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ConfigView findValueByNumber(int number) {
-            return ConfigView.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ConfigView> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ConfigView findValueByNumber(int number) {
+              return ConfigView.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.api.servicemanagement.v1.GetServiceConfigRequest.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.api.servicemanagement.v1.GetServiceConfigRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ConfigView[] VALUES = values();
 
-    public static ConfigView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ConfigView 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;
@@ -207,8 +183,6 @@ private ConfigView(int value) {
   public static final int SERVICE_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceName_;
   /**
-   *
-   *
    * 
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -216,7 +190,6 @@ private ConfigView(int value) {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -225,15 +198,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -241,15 +213,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -260,8 +233,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int CONFIG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object configId_; /** - * - * *
    * Required. The id of the service configuration resource.
    * This field must be specified for the server to return all fields, including
@@ -269,7 +240,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The configId. */ @java.lang.Override @@ -278,15 +248,14 @@ public java.lang.String getConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); configId_ = s; return s; } } /** - * - * *
    * Required. The id of the service configuration resource.
    * This field must be specified for the server to return all fields, including
@@ -294,15 +263,16 @@ public java.lang.String getConfigId() {
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for configId. */ @java.lang.Override - public com.google.protobuf.ByteString getConfigIdBytes() { + public com.google.protobuf.ByteString + getConfigIdBytes() { java.lang.Object ref = configId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); configId_ = b; return b; } else { @@ -313,45 +283,33 @@ public com.google.protobuf.ByteString getConfigIdBytes() { public static final int VIEW_FIELD_NUMBER = 3; private int view_; /** - * - * *
    * Specifies which parts of the Service Config should be returned in the
    * response.
    * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Specifies which parts of the Service Config should be returned in the
    * response.
    * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @return The view. */ - @java.lang.Override - public com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView getView() { + @java.lang.Override public com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView getView() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView result = - com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.valueOf(view_); - return result == null - ? com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView result = com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.valueOf(view_); + return result == null ? com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,16 +321,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, configId_); } - if (view_ - != com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.BASIC - .getNumber()) { + if (view_ != com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.BASIC.getNumber()) { output.writeEnum(3, view_); } getUnknownFields().writeTo(output); @@ -390,10 +347,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, configId_); } - if (view_ - != com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.BASIC - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, view_); + if (view_ != com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.BASIC.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -403,16 +359,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.api.servicemanagement.v1.GetServiceConfigRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.GetServiceConfigRequest other = - (com.google.api.servicemanagement.v1.GetServiceConfigRequest) obj; + com.google.api.servicemanagement.v1.GetServiceConfigRequest other = (com.google.api.servicemanagement.v1.GetServiceConfigRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; - if (!getConfigId().equals(other.getConfigId())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; + if (!getConfigId() + .equals(other.getConfigId())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -437,136 +394,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.GetServiceConfigRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.GetServiceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for GetServiceConfig method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.GetServiceConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.GetServiceConfigRequest) com.google.api.servicemanagement.v1.GetServiceConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GetServiceConfigRequest.class, - com.google.api.servicemanagement.v1.GetServiceConfigRequest.Builder.class); + com.google.api.servicemanagement.v1.GetServiceConfigRequest.class, com.google.api.servicemanagement.v1.GetServiceConfigRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.GetServiceConfigRequest.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(); @@ -580,9 +530,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor; } @java.lang.Override @@ -601,8 +551,7 @@ public com.google.api.servicemanagement.v1.GetServiceConfigRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.GetServiceConfigRequest buildPartial() { - com.google.api.servicemanagement.v1.GetServiceConfigRequest result = - new com.google.api.servicemanagement.v1.GetServiceConfigRequest(this); + com.google.api.servicemanagement.v1.GetServiceConfigRequest result = new com.google.api.servicemanagement.v1.GetServiceConfigRequest(this); result.serviceName_ = serviceName_; result.configId_ = configId_; result.view_ = view_; @@ -614,39 +563,38 @@ public com.google.api.servicemanagement.v1.GetServiceConfigRequest 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.api.servicemanagement.v1.GetServiceConfigRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.GetServiceConfigRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.GetServiceConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -654,8 +602,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.GetServiceConfigRequest other) { - if (other == com.google.api.servicemanagement.v1.GetServiceConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.GetServiceConfigRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -693,31 +640,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - configId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - view_ = input.readEnum(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serviceName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + configId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + view_ = input.readEnum(); + + 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) { @@ -730,8 +673,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -739,13 +680,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -754,8 +695,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -763,14 +702,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -778,8 +718,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -787,22 +725,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -810,18 +746,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -829,16 +762,16 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -846,8 +779,6 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object configId_ = ""; /** - * - * *
      * Required. The id of the service configuration resource.
      * This field must be specified for the server to return all fields, including
@@ -855,13 +786,13 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The configId. */ public java.lang.String getConfigId() { java.lang.Object ref = configId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); configId_ = s; return s; @@ -870,8 +801,6 @@ public java.lang.String getConfigId() { } } /** - * - * *
      * Required. The id of the service configuration resource.
      * This field must be specified for the server to return all fields, including
@@ -879,14 +808,15 @@ public java.lang.String getConfigId() {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for configId. */ - public com.google.protobuf.ByteString getConfigIdBytes() { + public com.google.protobuf.ByteString + getConfigIdBytes() { java.lang.Object ref = configId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); configId_ = b; return b; } else { @@ -894,8 +824,6 @@ public com.google.protobuf.ByteString getConfigIdBytes() { } } /** - * - * *
      * Required. The id of the service configuration resource.
      * This field must be specified for the server to return all fields, including
@@ -903,22 +831,20 @@ public com.google.protobuf.ByteString getConfigIdBytes() {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The configId to set. * @return This builder for chaining. */ - public Builder setConfigId(java.lang.String value) { + public Builder setConfigId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + configId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The id of the service configuration resource.
      * This field must be specified for the server to return all fields, including
@@ -926,18 +852,15 @@ public Builder setConfigId(java.lang.String value) {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConfigId() { - + configId_ = getDefaultInstance().getConfigId(); onChanged(); return this; } /** - * - * *
      * Required. The id of the service configuration resource.
      * This field must be specified for the server to return all fields, including
@@ -945,16 +868,16 @@ public Builder clearConfigId() {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for configId to set. * @return This builder for chaining. */ - public Builder setConfigIdBytes(com.google.protobuf.ByteString value) { + public Builder setConfigIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + configId_ = value; onChanged(); return this; @@ -962,105 +885,85 @@ public Builder setConfigIdBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Specifies which parts of the Service Config should be returned in the
      * response.
      * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Specifies which parts of the Service Config should be returned in the
      * response.
      * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Specifies which parts of the Service Config should be returned in the
      * response.
      * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @return The view. */ @java.lang.Override public com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView getView() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView result = - com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.valueOf(view_); - return result == null - ? com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView result = com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.valueOf(view_); + return result == null ? com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView.UNRECOGNIZED : result; } /** - * - * *
      * Specifies which parts of the Service Config should be returned in the
      * response.
      * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @param value The view to set. * @return This builder for chaining. */ - public Builder setView( - com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView value) { + public Builder setView(com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Specifies which parts of the Service Config should be returned in the
      * response.
      * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1070,12 +973,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.GetServiceConfigRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.GetServiceConfigRequest) private static final com.google.api.servicemanagement.v1.GetServiceConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.GetServiceConfigRequest(); } @@ -1084,27 +987,27 @@ public static com.google.api.servicemanagement.v1.GetServiceConfigRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetServiceConfigRequest 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 GetServiceConfigRequest 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; @@ -1119,4 +1022,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.GetServiceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequestOrBuilder.java similarity index 73% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequestOrBuilder.java index 40c7ee84e638..36ef25e5a476 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface GetServiceConfigRequestOrBuilder - extends +public interface GetServiceConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.GetServiceConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -33,13 +15,10 @@ public interface GetServiceConfigRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -47,14 +26,12 @@ public interface GetServiceConfigRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * Required. The id of the service configuration resource.
    * This field must be specified for the server to return all fields, including
@@ -62,13 +39,10 @@ public interface GetServiceConfigRequestOrBuilder
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The configId. */ java.lang.String getConfigId(); /** - * - * *
    * Required. The id of the service configuration resource.
    * This field must be specified for the server to return all fields, including
@@ -76,34 +50,28 @@ public interface GetServiceConfigRequestOrBuilder
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for configId. */ - com.google.protobuf.ByteString getConfigIdBytes(); + com.google.protobuf.ByteString + getConfigIdBytes(); /** - * - * *
    * Specifies which parts of the Service Config should be returned in the
    * response.
    * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Specifies which parts of the Service Config should be returned in the
    * response.
    * 
* * .google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; - * * @return The view. */ com.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView getView(); diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequest.java similarity index 67% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequest.java index 9ad08effee69..6c82c60ce2b0 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequest.java @@ -1,84 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for `GetService` method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.GetServiceRequest} */ -public final class GetServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.GetServiceRequest) GetServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetServiceRequest.newBuilder() to construct. private GetServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetServiceRequest() { serviceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GetServiceRequest.class, - com.google.api.servicemanagement.v1.GetServiceRequest.Builder.class); + com.google.api.servicemanagement.v1.GetServiceRequest.class, com.google.api.servicemanagement.v1.GetServiceRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service.  See the `ServiceManager` overview for
    * naming requirements.  For example: `example.googleapis.com`.
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -87,30 +65,30 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the `ServiceManager` overview for
    * naming requirements.  For example: `example.googleapis.com`.
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -119,7 +97,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +108,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -155,15 +133,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.api.servicemanagement.v1.GetServiceRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.GetServiceRequest other = - (com.google.api.servicemanagement.v1.GetServiceRequest) obj; + com.google.api.servicemanagement.v1.GetServiceRequest other = (com.google.api.servicemanagement.v1.GetServiceRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +161,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.GetServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.GetServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.GetServiceRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.GetServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for `GetService` method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.GetServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.GetServiceRequest) com.google.api.servicemanagement.v1.GetServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GetServiceRequest.class, - com.google.api.servicemanagement.v1.GetServiceRequest.Builder.class); + com.google.api.servicemanagement.v1.GetServiceRequest.class, com.google.api.servicemanagement.v1.GetServiceRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.GetServiceRequest.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(); @@ -322,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor; } @java.lang.Override @@ -343,8 +314,7 @@ public com.google.api.servicemanagement.v1.GetServiceRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.GetServiceRequest buildPartial() { - com.google.api.servicemanagement.v1.GetServiceRequest result = - new com.google.api.servicemanagement.v1.GetServiceRequest(this); + com.google.api.servicemanagement.v1.GetServiceRequest result = new com.google.api.servicemanagement.v1.GetServiceRequest(this); result.serviceName_ = serviceName_; onBuilt(); return result; @@ -354,39 +324,38 @@ public com.google.api.servicemanagement.v1.GetServiceRequest 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.api.servicemanagement.v1.GetServiceRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.GetServiceRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.GetServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -394,8 +363,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.GetServiceRequest other) { - if (other == com.google.api.servicemanagement.v1.GetServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.GetServiceRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -426,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serviceName_ = input.readStringRequireUtf8(); + + 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) { @@ -451,21 +417,19 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the `ServiceManager` overview for
      * naming requirements.  For example: `example.googleapis.com`.
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -474,22 +438,21 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the `ServiceManager` overview for
      * naming requirements.  For example: `example.googleapis.com`.
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -497,71 +460,64 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the `ServiceManager` overview for
      * naming requirements.  For example: `example.googleapis.com`.
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the `ServiceManager` overview for
      * naming requirements.  For example: `example.googleapis.com`.
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the `ServiceManager` overview for
      * naming requirements.  For example: `example.googleapis.com`.
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = 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); } @@ -571,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.GetServiceRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.GetServiceRequest) private static final com.google.api.servicemanagement.v1.GetServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.GetServiceRequest(); } @@ -585,27 +541,27 @@ public static com.google.api.servicemanagement.v1.GetServiceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetServiceRequest 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 GetServiceRequest 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; @@ -620,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.GetServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequestOrBuilder.java similarity index 56% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequestOrBuilder.java index 1311d5dee850..ebf488586257 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface GetServiceRequestOrBuilder - extends +public interface GetServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.GetServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the `ServiceManager` overview for
    * naming requirements.  For example: `example.googleapis.com`.
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the `ServiceManager` overview for
    * naming requirements.  For example: `example.googleapis.com`.
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequest.java similarity index 69% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequest.java index 1c6b30c1c7c8..bf1d498113c7 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for GetServiceRollout method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.GetServiceRolloutRequest} */ -public final class GetServiceRolloutRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetServiceRolloutRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.GetServiceRolloutRequest) GetServiceRolloutRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetServiceRolloutRequest.newBuilder() to construct. private GetServiceRolloutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetServiceRolloutRequest() { serviceName_ = ""; rolloutId_ = ""; @@ -44,35 +26,32 @@ private GetServiceRolloutRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetServiceRolloutRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GetServiceRolloutRequest.class, - com.google.api.servicemanagement.v1.GetServiceRolloutRequest.Builder.class); + com.google.api.servicemanagement.v1.GetServiceRolloutRequest.class, com.google.api.servicemanagement.v1.GetServiceRolloutRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -89,15 +67,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -105,15 +82,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -124,14 +102,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int ROLLOUT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object rolloutId_; /** - * - * *
    * Required. The id of the rollout resource.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rolloutId. */ @java.lang.Override @@ -140,29 +115,29 @@ public java.lang.String getRolloutId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rolloutId_ = s; return s; } } /** - * - * *
    * Required. The id of the rollout resource.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rolloutId. */ @java.lang.Override - public com.google.protobuf.ByteString getRolloutIdBytes() { + public com.google.protobuf.ByteString + getRolloutIdBytes() { java.lang.Object ref = rolloutId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rolloutId_ = b; return b; } else { @@ -171,7 +146,6 @@ public com.google.protobuf.ByteString getRolloutIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +157,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -213,16 +188,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.api.servicemanagement.v1.GetServiceRolloutRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.GetServiceRolloutRequest other = - (com.google.api.servicemanagement.v1.GetServiceRolloutRequest) obj; + com.google.api.servicemanagement.v1.GetServiceRolloutRequest other = (com.google.api.servicemanagement.v1.GetServiceRolloutRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; - if (!getRolloutId().equals(other.getRolloutId())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; + if (!getRolloutId() + .equals(other.getRolloutId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,136 +220,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.GetServiceRolloutRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.GetServiceRolloutRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for GetServiceRollout method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.GetServiceRolloutRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.GetServiceRolloutRequest) com.google.api.servicemanagement.v1.GetServiceRolloutRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.GetServiceRolloutRequest.class, - com.google.api.servicemanagement.v1.GetServiceRolloutRequest.Builder.class); + com.google.api.servicemanagement.v1.GetServiceRolloutRequest.class, com.google.api.servicemanagement.v1.GetServiceRolloutRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.GetServiceRolloutRequest.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(); @@ -385,14 +354,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.GetServiceRolloutRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.GetServiceRolloutRequest getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.GetServiceRolloutRequest.getDefaultInstance(); } @@ -407,8 +375,7 @@ public com.google.api.servicemanagement.v1.GetServiceRolloutRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.GetServiceRolloutRequest buildPartial() { - com.google.api.servicemanagement.v1.GetServiceRolloutRequest result = - new com.google.api.servicemanagement.v1.GetServiceRolloutRequest(this); + com.google.api.servicemanagement.v1.GetServiceRolloutRequest result = new com.google.api.servicemanagement.v1.GetServiceRolloutRequest(this); result.serviceName_ = serviceName_; result.rolloutId_ = rolloutId_; onBuilt(); @@ -419,39 +386,38 @@ public com.google.api.servicemanagement.v1.GetServiceRolloutRequest 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.api.servicemanagement.v1.GetServiceRolloutRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.GetServiceRolloutRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.GetServiceRolloutRequest)other); } else { super.mergeFrom(other); return this; @@ -459,9 +425,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.GetServiceRolloutRequest other) { - if (other - == com.google.api.servicemanagement.v1.GetServiceRolloutRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.GetServiceRolloutRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -496,25 +460,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - rolloutId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serviceName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + rolloutId_ = input.readStringRequireUtf8(); + + 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) { @@ -527,8 +488,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -536,13 +495,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -551,8 +510,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -560,14 +517,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -575,8 +533,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -584,22 +540,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -607,18 +561,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -626,16 +577,16 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -643,20 +594,18 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object rolloutId_ = ""; /** - * - * *
      * Required. The id of the rollout resource.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rolloutId. */ public java.lang.String getRolloutId() { java.lang.Object ref = rolloutId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rolloutId_ = s; return s; @@ -665,21 +614,20 @@ public java.lang.String getRolloutId() { } } /** - * - * *
      * Required. The id of the rollout resource.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rolloutId. */ - public com.google.protobuf.ByteString getRolloutIdBytes() { + public com.google.protobuf.ByteString + getRolloutIdBytes() { java.lang.Object ref = rolloutId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rolloutId_ = b; return b; } else { @@ -687,68 +635,61 @@ public com.google.protobuf.ByteString getRolloutIdBytes() { } } /** - * - * *
      * Required. The id of the rollout resource.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutId(java.lang.String value) { + public Builder setRolloutId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rolloutId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The id of the rollout resource.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRolloutId() { - + rolloutId_ = getDefaultInstance().getRolloutId(); onChanged(); return this; } /** - * - * *
      * Required. The id of the rollout resource.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutIdBytes(com.google.protobuf.ByteString value) { + public Builder setRolloutIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rolloutId_ = 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); } @@ -758,13 +699,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.GetServiceRolloutRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.GetServiceRolloutRequest) - private static final com.google.api.servicemanagement.v1.GetServiceRolloutRequest - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.GetServiceRolloutRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.GetServiceRolloutRequest(); } @@ -773,27 +713,27 @@ public static com.google.api.servicemanagement.v1.GetServiceRolloutRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetServiceRolloutRequest 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 GetServiceRolloutRequest 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; @@ -808,4 +748,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.GetServiceRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequestOrBuilder.java similarity index 64% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequestOrBuilder.java index a3b33b274680..3c45f4d15f89 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/GetServiceRolloutRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface GetServiceRolloutRequestOrBuilder - extends +public interface GetServiceRolloutRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.GetServiceRolloutRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -33,13 +15,10 @@ public interface GetServiceRolloutRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -47,33 +26,28 @@ public interface GetServiceRolloutRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * Required. The id of the rollout resource.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rolloutId. */ java.lang.String getRolloutId(); /** - * - * *
    * Required. The id of the rollout resource.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rolloutId. */ - com.google.protobuf.ByteString getRolloutIdBytes(); + com.google.protobuf.ByteString + getRolloutIdBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequest.java similarity index 69% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequest.java index 50e8aac79323..7bfac330eaac 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for ListServiceConfigs method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServiceConfigsRequest} */ -public final class ListServiceConfigsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServiceConfigsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ListServiceConfigsRequest) ListServiceConfigsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServiceConfigsRequest.newBuilder() to construct. private ListServiceConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServiceConfigsRequest() { serviceName_ = ""; pageToken_ = ""; @@ -44,35 +26,32 @@ private ListServiceConfigsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServiceConfigsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServiceConfigsRequest.class, - com.google.api.servicemanagement.v1.ListServiceConfigsRequest.Builder.class); + com.google.api.servicemanagement.v1.ListServiceConfigsRequest.class, com.google.api.servicemanagement.v1.ListServiceConfigsRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -89,15 +67,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -105,15 +82,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -124,14 +102,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The token of the page to retrieve.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -140,29 +115,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; } } /** - * - * *
    * The token of the page to retrieve.
    * 
* * string page_token = 2; - * * @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 { @@ -173,15 +148,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The max number of items to include in the response list. Page size is 50
    * if not specified. Maximum value is 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -190,7 +162,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +173,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -228,7 +200,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -238,17 +211,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.api.servicemanagement.v1.ListServiceConfigsRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ListServiceConfigsRequest other = - (com.google.api.servicemanagement.v1.ListServiceConfigsRequest) obj; + com.google.api.servicemanagement.v1.ListServiceConfigsRequest other = (com.google.api.servicemanagement.v1.ListServiceConfigsRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,136 +247,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.ListServiceConfigsRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.ListServiceConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for ListServiceConfigs method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServiceConfigsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ListServiceConfigsRequest) com.google.api.servicemanagement.v1.ListServiceConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServiceConfigsRequest.class, - com.google.api.servicemanagement.v1.ListServiceConfigsRequest.Builder.class); + com.google.api.servicemanagement.v1.ListServiceConfigsRequest.class, com.google.api.servicemanagement.v1.ListServiceConfigsRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.ListServiceConfigsRequest.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(); @@ -415,14 +383,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.ListServiceConfigsRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.ListServiceConfigsRequest getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.ListServiceConfigsRequest.getDefaultInstance(); } @@ -437,8 +404,7 @@ public com.google.api.servicemanagement.v1.ListServiceConfigsRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.ListServiceConfigsRequest buildPartial() { - com.google.api.servicemanagement.v1.ListServiceConfigsRequest result = - new com.google.api.servicemanagement.v1.ListServiceConfigsRequest(this); + com.google.api.servicemanagement.v1.ListServiceConfigsRequest result = new com.google.api.servicemanagement.v1.ListServiceConfigsRequest(this); result.serviceName_ = serviceName_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -450,39 +416,38 @@ public com.google.api.servicemanagement.v1.ListServiceConfigsRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.ListServiceConfigsRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.ListServiceConfigsRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.ListServiceConfigsRequest)other); } else { super.mergeFrom(other); return this; @@ -490,9 +455,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.ListServiceConfigsRequest other) { - if (other - == com.google.api.servicemanagement.v1.ListServiceConfigsRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.ListServiceConfigsRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -530,31 +493,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serviceName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + 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,8 +526,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -576,13 +533,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -591,8 +548,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -600,14 +555,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -615,8 +571,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -624,22 +578,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -647,18 +599,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -666,16 +615,16 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -683,20 +632,18 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @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; @@ -705,21 +652,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @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 { @@ -727,77 +673,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -805,45 +741,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -853,13 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ListServiceConfigsRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ListServiceConfigsRequest) - private static final com.google.api.servicemanagement.v1.ListServiceConfigsRequest - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.ListServiceConfigsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ListServiceConfigsRequest(); } @@ -868,27 +797,27 @@ public static com.google.api.servicemanagement.v1.ListServiceConfigsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServiceConfigsRequest 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 ListServiceConfigsRequest 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,4 +832,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.api.servicemanagement.v1.ListServiceConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequestOrBuilder.java similarity index 66% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequestOrBuilder.java index 4ef773779985..f1ee01b0df93 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface ListServiceConfigsRequestOrBuilder - extends +public interface ListServiceConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ListServiceConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -33,13 +15,10 @@ public interface ListServiceConfigsRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -47,46 +26,38 @@ public interface ListServiceConfigsRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * The token of the page to retrieve.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The token of the page to retrieve.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The max number of items to include in the response list. Page size is 50
    * if not specified. Maximum value is 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponse.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponse.java similarity index 71% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponse.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponse.java index f3febb540f1a..2880a7e7eda1 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponse.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Response message for ListServiceConfigs method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServiceConfigsResponse} */ -public final class ListServiceConfigsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServiceConfigsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ListServiceConfigsResponse) ListServiceConfigsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServiceConfigsResponse.newBuilder() to construct. private ListServiceConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServiceConfigsResponse() { serviceConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListServiceConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServiceConfigsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServiceConfigsResponse.class, - com.google.api.servicemanagement.v1.ListServiceConfigsResponse.Builder.class); + com.google.api.servicemanagement.v1.ListServiceConfigsResponse.class, com.google.api.servicemanagement.v1.ListServiceConfigsResponse.Builder.class); } public static final int SERVICE_CONFIGS_FIELD_NUMBER = 1; private java.util.List serviceConfigs_; /** - * - * *
    * The list of service configuration resources.
    * 
@@ -84,8 +63,6 @@ public java.util.List getServiceConfigsList() { return serviceConfigs_; } /** - * - * *
    * The list of service configuration resources.
    * 
@@ -93,13 +70,11 @@ public java.util.List getServiceConfigsList() { * repeated .google.api.Service service_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getServiceConfigsOrBuilderList() { return serviceConfigs_; } /** - * - * *
    * The list of service configuration resources.
    * 
@@ -111,8 +86,6 @@ public int getServiceConfigsCount() { return serviceConfigs_.size(); } /** - * - * *
    * The list of service configuration resources.
    * 
@@ -124,8 +97,6 @@ public com.google.api.Service getServiceConfigs(int index) { return serviceConfigs_.get(index); } /** - * - * *
    * The list of service configuration resources.
    * 
@@ -133,21 +104,19 @@ public com.google.api.Service getServiceConfigs(int index) { * repeated .google.api.Service service_configs = 1; */ @java.lang.Override - public com.google.api.ServiceOrBuilder getServiceConfigsOrBuilder(int index) { + public com.google.api.ServiceOrBuilder getServiceConfigsOrBuilder( + int index) { return serviceConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token of the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token of the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -187,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +167,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 < serviceConfigs_.size(); i++) { output.writeMessage(1, serviceConfigs_.get(i)); } @@ -216,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < serviceConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, serviceConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, serviceConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -229,16 +199,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.api.servicemanagement.v1.ListServiceConfigsResponse)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ListServiceConfigsResponse other = - (com.google.api.servicemanagement.v1.ListServiceConfigsResponse) obj; + com.google.api.servicemanagement.v1.ListServiceConfigsResponse other = (com.google.api.servicemanagement.v1.ListServiceConfigsResponse) obj; - if (!getServiceConfigsList().equals(other.getServiceConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getServiceConfigsList() + .equals(other.getServiceConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +233,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.ListServiceConfigsResponse prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.ListServiceConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Response message for ListServiceConfigs method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServiceConfigsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ListServiceConfigsResponse) com.google.api.servicemanagement.v1.ListServiceConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServiceConfigsResponse.class, - com.google.api.servicemanagement.v1.ListServiceConfigsResponse.Builder.class); + com.google.api.servicemanagement.v1.ListServiceConfigsResponse.class, com.google.api.servicemanagement.v1.ListServiceConfigsResponse.Builder.class); } // Construct using com.google.api.servicemanagement.v1.ListServiceConfigsResponse.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(); @@ -408,14 +372,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.ListServiceConfigsResponse - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.ListServiceConfigsResponse getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.ListServiceConfigsResponse.getDefaultInstance(); } @@ -430,8 +393,7 @@ public com.google.api.servicemanagement.v1.ListServiceConfigsResponse build() { @java.lang.Override public com.google.api.servicemanagement.v1.ListServiceConfigsResponse buildPartial() { - com.google.api.servicemanagement.v1.ListServiceConfigsResponse result = - new com.google.api.servicemanagement.v1.ListServiceConfigsResponse(this); + com.google.api.servicemanagement.v1.ListServiceConfigsResponse result = new com.google.api.servicemanagement.v1.ListServiceConfigsResponse(this); int from_bitField0_ = bitField0_; if (serviceConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +413,38 @@ public com.google.api.servicemanagement.v1.ListServiceConfigsResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.ListServiceConfigsResponse) { - return mergeFrom((com.google.api.servicemanagement.v1.ListServiceConfigsResponse) other); + return mergeFrom((com.google.api.servicemanagement.v1.ListServiceConfigsResponse)other); } else { super.mergeFrom(other); return this; @@ -491,9 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.ListServiceConfigsResponse other) { - if (other - == com.google.api.servicemanagement.v1.ListServiceConfigsResponse.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.ListServiceConfigsResponse.getDefaultInstance()) return this; if (serviceConfigsBuilder_ == null) { if (!other.serviceConfigs_.isEmpty()) { if (serviceConfigs_.isEmpty()) { @@ -512,10 +471,9 @@ public Builder mergeFrom(com.google.api.servicemanagement.v1.ListServiceConfigsR serviceConfigsBuilder_ = null; serviceConfigs_ = other.serviceConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - serviceConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getServiceConfigsFieldBuilder() - : null; + serviceConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getServiceConfigsFieldBuilder() : null; } else { serviceConfigsBuilder_.addAllMessages(other.serviceConfigs_); } @@ -551,31 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.api.Service m = - input.readMessage(com.google.api.Service.parser(), extensionRegistry); - if (serviceConfigsBuilder_ == null) { - ensureServiceConfigsIsMutable(); - serviceConfigs_.add(m); - } else { - serviceConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.api.Service m = + input.readMessage( + com.google.api.Service.parser(), + extensionRegistry); + if (serviceConfigsBuilder_ == null) { + ensureServiceConfigsIsMutable(); + serviceConfigs_.add(m); + } else { + serviceConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -585,26 +542,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List serviceConfigs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureServiceConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { serviceConfigs_ = new java.util.ArrayList(serviceConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> - serviceConfigsBuilder_; + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> serviceConfigsBuilder_; /** - * - * *
      * The list of service configuration resources.
      * 
@@ -619,8 +571,6 @@ public java.util.List getServiceConfigsList() { } } /** - * - * *
      * The list of service configuration resources.
      * 
@@ -635,8 +585,6 @@ public int getServiceConfigsCount() { } } /** - * - * *
      * The list of service configuration resources.
      * 
@@ -651,15 +599,14 @@ public com.google.api.Service getServiceConfigs(int index) { } } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public Builder setServiceConfigs(int index, com.google.api.Service value) { + public Builder setServiceConfigs( + int index, com.google.api.Service value) { if (serviceConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,15 +620,14 @@ public Builder setServiceConfigs(int index, com.google.api.Service value) { return this; } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public Builder setServiceConfigs(int index, com.google.api.Service.Builder builderForValue) { + public Builder setServiceConfigs( + int index, com.google.api.Service.Builder builderForValue) { if (serviceConfigsBuilder_ == null) { ensureServiceConfigsIsMutable(); serviceConfigs_.set(index, builderForValue.build()); @@ -692,8 +638,6 @@ public Builder setServiceConfigs(int index, com.google.api.Service.Builder build return this; } /** - * - * *
      * The list of service configuration resources.
      * 
@@ -714,15 +658,14 @@ public Builder addServiceConfigs(com.google.api.Service value) { return this; } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public Builder addServiceConfigs(int index, com.google.api.Service value) { + public Builder addServiceConfigs( + int index, com.google.api.Service value) { if (serviceConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -736,15 +679,14 @@ public Builder addServiceConfigs(int index, com.google.api.Service value) { return this; } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public Builder addServiceConfigs(com.google.api.Service.Builder builderForValue) { + public Builder addServiceConfigs( + com.google.api.Service.Builder builderForValue) { if (serviceConfigsBuilder_ == null) { ensureServiceConfigsIsMutable(); serviceConfigs_.add(builderForValue.build()); @@ -755,15 +697,14 @@ public Builder addServiceConfigs(com.google.api.Service.Builder builderForValue) return this; } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public Builder addServiceConfigs(int index, com.google.api.Service.Builder builderForValue) { + public Builder addServiceConfigs( + int index, com.google.api.Service.Builder builderForValue) { if (serviceConfigsBuilder_ == null) { ensureServiceConfigsIsMutable(); serviceConfigs_.add(index, builderForValue.build()); @@ -774,8 +715,6 @@ public Builder addServiceConfigs(int index, com.google.api.Service.Builder build return this; } /** - * - * *
      * The list of service configuration resources.
      * 
@@ -786,7 +725,8 @@ public Builder addAllServiceConfigs( java.lang.Iterable values) { if (serviceConfigsBuilder_ == null) { ensureServiceConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, serviceConfigs_); onChanged(); } else { serviceConfigsBuilder_.addAllMessages(values); @@ -794,8 +734,6 @@ public Builder addAllServiceConfigs( return this; } /** - * - * *
      * The list of service configuration resources.
      * 
@@ -813,8 +751,6 @@ public Builder clearServiceConfigs() { return this; } /** - * - * *
      * The list of service configuration resources.
      * 
@@ -832,44 +768,39 @@ public Builder removeServiceConfigs(int index) { return this; } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public com.google.api.Service.Builder getServiceConfigsBuilder(int index) { + public com.google.api.Service.Builder getServiceConfigsBuilder( + int index) { return getServiceConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public com.google.api.ServiceOrBuilder getServiceConfigsOrBuilder(int index) { + public com.google.api.ServiceOrBuilder getServiceConfigsOrBuilder( + int index) { if (serviceConfigsBuilder_ == null) { - return serviceConfigs_.get(index); - } else { + return serviceConfigs_.get(index); } else { return serviceConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public java.util.List - getServiceConfigsOrBuilderList() { + public java.util.List + getServiceConfigsOrBuilderList() { if (serviceConfigsBuilder_ != null) { return serviceConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -877,8 +808,6 @@ public com.google.api.ServiceOrBuilder getServiceConfigsOrBuilder(int index) { } } /** - * - * *
      * The list of service configuration resources.
      * 
@@ -886,44 +815,38 @@ public com.google.api.ServiceOrBuilder getServiceConfigsOrBuilder(int index) { * repeated .google.api.Service service_configs = 1; */ public com.google.api.Service.Builder addServiceConfigsBuilder() { - return getServiceConfigsFieldBuilder() - .addBuilder(com.google.api.Service.getDefaultInstance()); + return getServiceConfigsFieldBuilder().addBuilder( + com.google.api.Service.getDefaultInstance()); } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public com.google.api.Service.Builder addServiceConfigsBuilder(int index) { - return getServiceConfigsFieldBuilder() - .addBuilder(index, com.google.api.Service.getDefaultInstance()); + public com.google.api.Service.Builder addServiceConfigsBuilder( + int index) { + return getServiceConfigsFieldBuilder().addBuilder( + index, com.google.api.Service.getDefaultInstance()); } /** - * - * *
      * The list of service configuration resources.
      * 
* * repeated .google.api.Service service_configs = 1; */ - public java.util.List getServiceConfigsBuilderList() { + public java.util.List + getServiceConfigsBuilderList() { return getServiceConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> getServiceConfigsFieldBuilder() { if (serviceConfigsBuilder_ == null) { - serviceConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Service, - com.google.api.Service.Builder, - com.google.api.ServiceOrBuilder>( + serviceConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder>( serviceConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -935,20 +858,18 @@ public java.util.List getServiceConfigsBuilderLi private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -957,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -979,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1050,43 +963,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ListServiceConfigsResponse) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ListServiceConfigsResponse) - private static final com.google.api.servicemanagement.v1.ListServiceConfigsResponse - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.ListServiceConfigsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ListServiceConfigsResponse(); } - public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse - getDefaultInstance() { + public static com.google.api.servicemanagement.v1.ListServiceConfigsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServiceConfigsResponse 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 ListServiceConfigsResponse 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; @@ -1098,8 +1009,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.api.servicemanagement.v1.ListServiceConfigsResponse - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.ListServiceConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponseOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponseOrBuilder.java similarity index 60% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponseOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponseOrBuilder.java index 777689091920..286c40d51f50 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponseOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceConfigsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface ListServiceConfigsResponseOrBuilder - extends +public interface ListServiceConfigsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ListServiceConfigsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of service configuration resources.
    * 
* * repeated .google.api.Service service_configs = 1; */ - java.util.List getServiceConfigsList(); + java.util.List + getServiceConfigsList(); /** - * - * *
    * The list of service configuration resources.
    * 
@@ -44,8 +25,6 @@ public interface ListServiceConfigsResponseOrBuilder */ com.google.api.Service getServiceConfigs(int index); /** - * - * *
    * The list of service configuration resources.
    * 
@@ -54,48 +33,41 @@ public interface ListServiceConfigsResponseOrBuilder */ int getServiceConfigsCount(); /** - * - * *
    * The list of service configuration resources.
    * 
* * repeated .google.api.Service service_configs = 1; */ - java.util.List getServiceConfigsOrBuilderList(); + java.util.List + getServiceConfigsOrBuilderList(); /** - * - * *
    * The list of service configuration resources.
    * 
* * repeated .google.api.Service service_configs = 1; */ - com.google.api.ServiceOrBuilder getServiceConfigsOrBuilder(int index); + com.google.api.ServiceOrBuilder getServiceConfigsOrBuilder( + int index); /** - * - * *
    * The token of the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token of the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequest.java similarity index 72% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequest.java index f4fa7fffb91b..db3c99120b0c 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for 'ListServiceRollouts'
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServiceRolloutsRequest} */ -public final class ListServiceRolloutsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServiceRolloutsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ListServiceRolloutsRequest) ListServiceRolloutsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServiceRolloutsRequest.newBuilder() to construct. private ListServiceRolloutsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServiceRolloutsRequest() { serviceName_ = ""; pageToken_ = ""; @@ -45,35 +27,32 @@ private ListServiceRolloutsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServiceRolloutsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.class, - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.Builder.class); + com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.class, com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -90,15 +68,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -106,15 +83,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -125,14 +103,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The token of the page to retrieve.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -141,29 +116,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; } } /** - * - * *
    * The token of the page to retrieve.
    * 
* * string page_token = 2; - * * @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 { @@ -174,15 +149,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The max number of items to include in the response list. Page size is 50
    * if not specified. Maximum value is 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -193,8 +165,6 @@ public int getPageSize() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Required. Use `filter` to return subset of rollouts.
    * The following filters are supported:
@@ -207,7 +177,6 @@ public int getPageSize() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -216,15 +185,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. Use `filter` to return subset of rollouts.
    * The following filters are supported:
@@ -237,15 +205,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -254,7 +223,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +234,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -295,7 +264,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); @@ -308,18 +278,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.api.servicemanagement.v1.ListServiceRolloutsRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest other = - (com.google.api.servicemanagement.v1.ListServiceRolloutsRequest) obj; - - if (!getServiceName().equals(other.getServiceName())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.api.servicemanagement.v1.ListServiceRolloutsRequest other = (com.google.api.servicemanagement.v1.ListServiceRolloutsRequest) obj; + + if (!getServiceName() + .equals(other.getServiceName())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,136 +318,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.ListServiceRolloutsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for 'ListServiceRollouts'
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServiceRolloutsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ListServiceRolloutsRequest) com.google.api.servicemanagement.v1.ListServiceRolloutsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.class, - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.Builder.class); + com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.class, com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.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(); @@ -490,14 +456,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.ListServiceRolloutsRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.ListServiceRolloutsRequest getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.getDefaultInstance(); } @@ -512,8 +477,7 @@ public com.google.api.servicemanagement.v1.ListServiceRolloutsRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.ListServiceRolloutsRequest buildPartial() { - com.google.api.servicemanagement.v1.ListServiceRolloutsRequest result = - new com.google.api.servicemanagement.v1.ListServiceRolloutsRequest(this); + com.google.api.servicemanagement.v1.ListServiceRolloutsRequest result = new com.google.api.servicemanagement.v1.ListServiceRolloutsRequest(this); result.serviceName_ = serviceName_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -526,39 +490,38 @@ public com.google.api.servicemanagement.v1.ListServiceRolloutsRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.ListServiceRolloutsRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.ListServiceRolloutsRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.ListServiceRolloutsRequest)other); } else { super.mergeFrom(other); return this; @@ -566,9 +529,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.ListServiceRolloutsRequest other) { - if (other - == com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.ListServiceRolloutsRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -610,37 +571,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); + case 10: { + serviceName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 34: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -653,8 +609,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -662,13 +616,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -677,8 +631,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -686,14 +638,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -701,8 +654,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -710,22 +661,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -733,18 +682,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -752,16 +698,16 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -769,20 +715,18 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @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; @@ -791,21 +735,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @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 { @@ -813,77 +756,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The token of the page to retrieve.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -891,38 +824,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -930,8 +857,6 @@ public Builder clearPageSize() { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. Use `filter` to return subset of rollouts.
      * The following filters are supported:
@@ -944,13 +869,13 @@ public Builder clearPageSize() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -959,8 +884,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. Use `filter` to return subset of rollouts.
      * The following filters are supported:
@@ -973,14 +896,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -988,8 +912,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. Use `filter` to return subset of rollouts.
      * The following filters are supported:
@@ -1002,22 +924,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Required. Use `filter` to return subset of rollouts.
      * The following filters are supported:
@@ -1030,18 +950,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. Use `filter` to return subset of rollouts.
      * The following filters are supported:
@@ -1054,23 +971,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,43 +997,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ListServiceRolloutsRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ListServiceRolloutsRequest) - private static final com.google.api.servicemanagement.v1.ListServiceRolloutsRequest - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.ListServiceRolloutsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ListServiceRolloutsRequest(); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest - getDefaultInstance() { + public static com.google.api.servicemanagement.v1.ListServiceRolloutsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServiceRolloutsRequest 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 ListServiceRolloutsRequest 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; @@ -1128,8 +1043,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.api.servicemanagement.v1.ListServiceRolloutsRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.ListServiceRolloutsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequestOrBuilder.java similarity index 75% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequestOrBuilder.java index 1f931d357064..42f1f8d45e85 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface ListServiceRolloutsRequestOrBuilder - extends +public interface ListServiceRolloutsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ListServiceRolloutsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -33,13 +15,10 @@ public interface ListServiceRolloutsRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -47,53 +26,43 @@ public interface ListServiceRolloutsRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * The token of the page to retrieve.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The token of the page to retrieve.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The max number of items to include in the response list. Page size is 50
    * if not specified. Maximum value is 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Required. Use `filter` to return subset of rollouts.
    * The following filters are supported:
@@ -106,13 +75,10 @@ public interface ListServiceRolloutsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. Use `filter` to return subset of rollouts.
    * The following filters are supported:
@@ -125,8 +91,8 @@ public interface ListServiceRolloutsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponse.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponse.java similarity index 70% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponse.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponse.java index 5002e99759a1..ea5a6f1a8074 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponse.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Response message for ListServiceRollouts method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServiceRolloutsResponse} */ -public final class ListServiceRolloutsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServiceRolloutsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ListServiceRolloutsResponse) ListServiceRolloutsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServiceRolloutsResponse.newBuilder() to construct. private ListServiceRolloutsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServiceRolloutsResponse() { rollouts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListServiceRolloutsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServiceRolloutsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.class, - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.Builder.class); + com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.class, com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.Builder.class); } public static final int ROLLOUTS_FIELD_NUMBER = 1; private java.util.List rollouts_; /** - * - * *
    * The list of rollout resources.
    * 
@@ -84,8 +63,6 @@ public java.util.List getRolloutsLi return rollouts_; } /** - * - * *
    * The list of rollout resources.
    * 
@@ -93,13 +70,11 @@ public java.util.List getRolloutsLi * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRolloutsOrBuilderList() { return rollouts_; } /** - * - * *
    * The list of rollout resources.
    * 
@@ -111,8 +86,6 @@ public int getRolloutsCount() { return rollouts_.size(); } /** - * - * *
    * The list of rollout resources.
    * 
@@ -124,8 +97,6 @@ public com.google.api.servicemanagement.v1.Rollout getRollouts(int index) { return rollouts_.get(index); } /** - * - * *
    * The list of rollout resources.
    * 
@@ -133,21 +104,19 @@ public com.google.api.servicemanagement.v1.Rollout getRollouts(int index) { * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ @java.lang.Override - public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutsOrBuilder(int index) { + public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutsOrBuilder( + int index) { return rollouts_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token of the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token of the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -187,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +167,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 < rollouts_.size(); i++) { output.writeMessage(1, rollouts_.get(i)); } @@ -216,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rollouts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rollouts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rollouts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -229,16 +199,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.api.servicemanagement.v1.ListServiceRolloutsResponse)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse other = - (com.google.api.servicemanagement.v1.ListServiceRolloutsResponse) obj; + com.google.api.servicemanagement.v1.ListServiceRolloutsResponse other = (com.google.api.servicemanagement.v1.ListServiceRolloutsResponse) obj; - if (!getRolloutsList().equals(other.getRolloutsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRolloutsList() + .equals(other.getRolloutsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +233,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.ListServiceRolloutsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Response message for ListServiceRollouts method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServiceRolloutsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ListServiceRolloutsResponse) com.google.api.servicemanagement.v1.ListServiceRolloutsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.class, - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.Builder.class); + com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.class, com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.Builder.class); } // Construct using com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.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(); @@ -408,14 +372,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.getDefaultInstance(); } @@ -430,8 +393,7 @@ public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse build() { @java.lang.Override public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse buildPartial() { - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse result = - new com.google.api.servicemanagement.v1.ListServiceRolloutsResponse(this); + com.google.api.servicemanagement.v1.ListServiceRolloutsResponse result = new com.google.api.servicemanagement.v1.ListServiceRolloutsResponse(this); int from_bitField0_ = bitField0_; if (rolloutsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,50 +413,46 @@ public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.ListServiceRolloutsResponse) { - return mergeFrom((com.google.api.servicemanagement.v1.ListServiceRolloutsResponse) other); + return mergeFrom((com.google.api.servicemanagement.v1.ListServiceRolloutsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.api.servicemanagement.v1.ListServiceRolloutsResponse other) { - if (other - == com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.api.servicemanagement.v1.ListServiceRolloutsResponse other) { + if (other == com.google.api.servicemanagement.v1.ListServiceRolloutsResponse.getDefaultInstance()) return this; if (rolloutsBuilder_ == null) { if (!other.rollouts_.isEmpty()) { if (rollouts_.isEmpty()) { @@ -513,10 +471,9 @@ public Builder mergeFrom( rolloutsBuilder_ = null; rollouts_ = other.rollouts_; bitField0_ = (bitField0_ & ~0x00000001); - rolloutsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRolloutsFieldBuilder() - : null; + rolloutsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRolloutsFieldBuilder() : null; } else { rolloutsBuilder_.addAllMessages(other.rollouts_); } @@ -552,32 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.api.servicemanagement.v1.Rollout m = - input.readMessage( - com.google.api.servicemanagement.v1.Rollout.parser(), extensionRegistry); - if (rolloutsBuilder_ == null) { - ensureRolloutsIsMutable(); - rollouts_.add(m); - } else { - rolloutsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.api.servicemanagement.v1.Rollout m = + input.readMessage( + com.google.api.servicemanagement.v1.Rollout.parser(), + extensionRegistry); + if (rolloutsBuilder_ == null) { + ensureRolloutsIsMutable(); + rollouts_.add(m); + } else { + rolloutsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -587,28 +542,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rollouts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRolloutsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rollouts_ = new java.util.ArrayList(rollouts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout, - com.google.api.servicemanagement.v1.Rollout.Builder, - com.google.api.servicemanagement.v1.RolloutOrBuilder> - rolloutsBuilder_; + com.google.api.servicemanagement.v1.Rollout, com.google.api.servicemanagement.v1.Rollout.Builder, com.google.api.servicemanagement.v1.RolloutOrBuilder> rolloutsBuilder_; /** - * - * *
      * The list of rollout resources.
      * 
@@ -623,8 +571,6 @@ public java.util.List getRolloutsLi } } /** - * - * *
      * The list of rollout resources.
      * 
@@ -639,8 +585,6 @@ public int getRolloutsCount() { } } /** - * - * *
      * The list of rollout resources.
      * 
@@ -655,15 +599,14 @@ public com.google.api.servicemanagement.v1.Rollout getRollouts(int index) { } } /** - * - * *
      * The list of rollout resources.
      * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - public Builder setRollouts(int index, com.google.api.servicemanagement.v1.Rollout value) { + public Builder setRollouts( + int index, com.google.api.servicemanagement.v1.Rollout value) { if (rolloutsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -677,8 +620,6 @@ public Builder setRollouts(int index, com.google.api.servicemanagement.v1.Rollou return this; } /** - * - * *
      * The list of rollout resources.
      * 
@@ -697,8 +638,6 @@ public Builder setRollouts( return this; } /** - * - * *
      * The list of rollout resources.
      * 
@@ -719,15 +658,14 @@ public Builder addRollouts(com.google.api.servicemanagement.v1.Rollout value) { return this; } /** - * - * *
      * The list of rollout resources.
      * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - public Builder addRollouts(int index, com.google.api.servicemanagement.v1.Rollout value) { + public Builder addRollouts( + int index, com.google.api.servicemanagement.v1.Rollout value) { if (rolloutsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -741,8 +679,6 @@ public Builder addRollouts(int index, com.google.api.servicemanagement.v1.Rollou return this; } /** - * - * *
      * The list of rollout resources.
      * 
@@ -761,8 +697,6 @@ public Builder addRollouts( return this; } /** - * - * *
      * The list of rollout resources.
      * 
@@ -781,8 +715,6 @@ public Builder addRollouts( return this; } /** - * - * *
      * The list of rollout resources.
      * 
@@ -793,7 +725,8 @@ public Builder addAllRollouts( java.lang.Iterable values) { if (rolloutsBuilder_ == null) { ensureRolloutsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rollouts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rollouts_); onChanged(); } else { rolloutsBuilder_.addAllMessages(values); @@ -801,8 +734,6 @@ public Builder addAllRollouts( return this; } /** - * - * *
      * The list of rollout resources.
      * 
@@ -820,8 +751,6 @@ public Builder clearRollouts() { return this; } /** - * - * *
      * The list of rollout resources.
      * 
@@ -839,44 +768,39 @@ public Builder removeRollouts(int index) { return this; } /** - * - * *
      * The list of rollout resources.
      * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - public com.google.api.servicemanagement.v1.Rollout.Builder getRolloutsBuilder(int index) { + public com.google.api.servicemanagement.v1.Rollout.Builder getRolloutsBuilder( + int index) { return getRolloutsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of rollout resources.
      * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutsOrBuilder(int index) { + public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutsOrBuilder( + int index) { if (rolloutsBuilder_ == null) { - return rollouts_.get(index); - } else { + return rollouts_.get(index); } else { return rolloutsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of rollout resources.
      * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - public java.util.List - getRolloutsOrBuilderList() { + public java.util.List + getRolloutsOrBuilderList() { if (rolloutsBuilder_ != null) { return rolloutsBuilder_.getMessageOrBuilderList(); } else { @@ -884,8 +808,6 @@ public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutsOrBuilder } } /** - * - * *
      * The list of rollout resources.
      * 
@@ -893,48 +815,42 @@ public com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutsOrBuilder * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ public com.google.api.servicemanagement.v1.Rollout.Builder addRolloutsBuilder() { - return getRolloutsFieldBuilder() - .addBuilder(com.google.api.servicemanagement.v1.Rollout.getDefaultInstance()); + return getRolloutsFieldBuilder().addBuilder( + com.google.api.servicemanagement.v1.Rollout.getDefaultInstance()); } /** - * - * *
      * The list of rollout resources.
      * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - public com.google.api.servicemanagement.v1.Rollout.Builder addRolloutsBuilder(int index) { - return getRolloutsFieldBuilder() - .addBuilder(index, com.google.api.servicemanagement.v1.Rollout.getDefaultInstance()); + public com.google.api.servicemanagement.v1.Rollout.Builder addRolloutsBuilder( + int index) { + return getRolloutsFieldBuilder().addBuilder( + index, com.google.api.servicemanagement.v1.Rollout.getDefaultInstance()); } /** - * - * *
      * The list of rollout resources.
      * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - public java.util.List - getRolloutsBuilderList() { + public java.util.List + getRolloutsBuilderList() { return getRolloutsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout, - com.google.api.servicemanagement.v1.Rollout.Builder, - com.google.api.servicemanagement.v1.RolloutOrBuilder> + com.google.api.servicemanagement.v1.Rollout, com.google.api.servicemanagement.v1.Rollout.Builder, com.google.api.servicemanagement.v1.RolloutOrBuilder> getRolloutsFieldBuilder() { if (rolloutsBuilder_ == null) { - rolloutsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout, - com.google.api.servicemanagement.v1.Rollout.Builder, - com.google.api.servicemanagement.v1.RolloutOrBuilder>( - rollouts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rolloutsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.servicemanagement.v1.Rollout, com.google.api.servicemanagement.v1.Rollout.Builder, com.google.api.servicemanagement.v1.RolloutOrBuilder>( + rollouts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rollouts_ = null; } return rolloutsBuilder_; @@ -942,20 +858,18 @@ public com.google.api.servicemanagement.v1.Rollout.Builder addRolloutsBuilder(in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -964,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -986,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token of the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1057,43 +963,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ListServiceRolloutsResponse) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ListServiceRolloutsResponse) - private static final com.google.api.servicemanagement.v1.ListServiceRolloutsResponse - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.ListServiceRolloutsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ListServiceRolloutsResponse(); } - public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse - getDefaultInstance() { + public static com.google.api.servicemanagement.v1.ListServiceRolloutsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServiceRolloutsResponse 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 ListServiceRolloutsResponse 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; @@ -1105,8 +1009,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.ListServiceRolloutsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponseOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponseOrBuilder.java similarity index 65% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponseOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponseOrBuilder.java index a01e903fd724..9efd17ae1f9f 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponseOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServiceRolloutsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface ListServiceRolloutsResponseOrBuilder - extends +public interface ListServiceRolloutsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ListServiceRolloutsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of rollout resources.
    * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - java.util.List getRolloutsList(); + java.util.List + getRolloutsList(); /** - * - * *
    * The list of rollout resources.
    * 
@@ -44,8 +25,6 @@ public interface ListServiceRolloutsResponseOrBuilder */ com.google.api.servicemanagement.v1.Rollout getRollouts(int index); /** - * - * *
    * The list of rollout resources.
    * 
@@ -54,49 +33,41 @@ public interface ListServiceRolloutsResponseOrBuilder */ int getRolloutsCount(); /** - * - * *
    * The list of rollout resources.
    * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - java.util.List + java.util.List getRolloutsOrBuilderList(); /** - * - * *
    * The list of rollout resources.
    * 
* * repeated .google.api.servicemanagement.v1.Rollout rollouts = 1; */ - com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutsOrBuilder(int index); + com.google.api.servicemanagement.v1.RolloutOrBuilder getRolloutsOrBuilder( + int index); /** - * - * *
    * The token of the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token of the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequest.java similarity index 70% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequest.java index 44f1eff242ee..3a5ef5f54fbf 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for `ListServices` method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServicesRequest} */ -public final class ListServicesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServicesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ListServicesRequest) ListServicesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServicesRequest.newBuilder() to construct. private ListServicesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServicesRequest() { producerProjectId_ = ""; pageToken_ = ""; @@ -45,41 +27,37 @@ private ListServicesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServicesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServicesRequest.class, - com.google.api.servicemanagement.v1.ListServicesRequest.Builder.class); + com.google.api.servicemanagement.v1.ListServicesRequest.class, com.google.api.servicemanagement.v1.ListServicesRequest.Builder.class); } public static final int PRODUCER_PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object producerProjectId_; /** - * - * *
    * Include services produced by the specified project.
    * 
* * string producer_project_id = 1; - * * @return The producerProjectId. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getProducerProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); producerProjectId_ = s; return s; } } /** - * - * *
    * Include services produced by the specified project.
    * 
* * string producer_project_id = 1; - * * @return The bytes for producerProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProducerProjectIdBytes() { + public com.google.protobuf.ByteString + getProducerProjectIdBytes() { java.lang.Object ref = producerProjectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); producerProjectId_ = b; return b; } else { @@ -121,15 +99,12 @@ public com.google.protobuf.ByteString getProducerProjectIdBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** - * - * *
    * The max number of items to include in the response list. Page size is 50
    * if not specified. Maximum value is 100.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -140,15 +115,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** - * - * *
    * Token identifying which result to start with; returned by a previous list
    * call.
    * 
* * string page_token = 6; - * * @return The pageToken. */ @java.lang.Override @@ -157,30 +129,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Token identifying which result to start with; returned by a previous list
    * call.
    * 
* * string page_token = 6; - * * @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,8 +163,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int CONSUMER_ID_FIELD_NUMBER = 7; private volatile java.lang.Object consumerId_; /** - * - * *
    * Include services consumed by the specified consumer.
    * The Google Service Management implementation accepts the following
@@ -201,27 +171,24 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string consumer_id = 7 [deprecated = true]; - * - * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See - * google/api/servicemanagement/v1/servicemanager.proto;l=277 + * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. + * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @return The consumerId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getConsumerId() { + @java.lang.Deprecated public java.lang.String getConsumerId() { java.lang.Object ref = consumerId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consumerId_ = s; return s; } } /** - * - * *
    * Include services consumed by the specified consumer.
    * The Google Service Management implementation accepts the following
@@ -230,18 +197,18 @@ public java.lang.String getConsumerId() {
    * 
* * string consumer_id = 7 [deprecated = true]; - * - * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See - * google/api/servicemanagement/v1/servicemanager.proto;l=277 + * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. + * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @return The bytes for consumerId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getConsumerIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getConsumerIdBytes() { java.lang.Object ref = consumerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consumerId_ = b; return b; } else { @@ -250,7 +217,6 @@ public com.google.protobuf.ByteString getConsumerIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producerProjectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, producerProjectId_); } @@ -288,7 +255,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, producerProjectId_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -304,18 +272,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.api.servicemanagement.v1.ListServicesRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ListServicesRequest other = - (com.google.api.servicemanagement.v1.ListServicesRequest) obj; - - if (!getProducerProjectId().equals(other.getProducerProjectId())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getConsumerId().equals(other.getConsumerId())) return false; + com.google.api.servicemanagement.v1.ListServicesRequest other = (com.google.api.servicemanagement.v1.ListServicesRequest) obj; + + if (!getProducerProjectId() + .equals(other.getProducerProjectId())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getConsumerId() + .equals(other.getConsumerId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -341,136 +312,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServicesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServicesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServicesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.ListServicesRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.ListServicesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for `ListServices` method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServicesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ListServicesRequest) com.google.api.servicemanagement.v1.ListServicesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServicesRequest.class, - com.google.api.servicemanagement.v1.ListServicesRequest.Builder.class); + com.google.api.servicemanagement.v1.ListServicesRequest.class, com.google.api.servicemanagement.v1.ListServicesRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.ListServicesRequest.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(); @@ -486,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor; } @java.lang.Override @@ -507,8 +471,7 @@ public com.google.api.servicemanagement.v1.ListServicesRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.ListServicesRequest buildPartial() { - com.google.api.servicemanagement.v1.ListServicesRequest result = - new com.google.api.servicemanagement.v1.ListServicesRequest(this); + com.google.api.servicemanagement.v1.ListServicesRequest result = new com.google.api.servicemanagement.v1.ListServicesRequest(this); result.producerProjectId_ = producerProjectId_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -521,39 +484,38 @@ public com.google.api.servicemanagement.v1.ListServicesRequest 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.api.servicemanagement.v1.ListServicesRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.ListServicesRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.ListServicesRequest)other); } else { super.mergeFrom(other); return this; @@ -561,8 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.ListServicesRequest other) { - if (other == com.google.api.servicemanagement.v1.ListServicesRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.ListServicesRequest.getDefaultInstance()) return this; if (!other.getProducerProjectId().isEmpty()) { producerProjectId_ = other.producerProjectId_; onChanged(); @@ -604,37 +565,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - producerProjectId_ = input.readStringRequireUtf8(); + case 10: { + producerProjectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 40: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 40: { + pageSize_ = input.readInt32(); - break; - } // case 40 - case 50: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 40 + case 50: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 50 - case 58: - { - consumerId_ = input.readStringRequireUtf8(); + break; + } // case 50 + case 58: { + consumerId_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -647,20 +603,18 @@ public Builder mergeFrom( private java.lang.Object producerProjectId_ = ""; /** - * - * *
      * Include services produced by the specified project.
      * 
* * string producer_project_id = 1; - * * @return The producerProjectId. */ public java.lang.String getProducerProjectId() { java.lang.Object ref = producerProjectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); producerProjectId_ = s; return s; @@ -669,21 +623,20 @@ public java.lang.String getProducerProjectId() { } } /** - * - * *
      * Include services produced by the specified project.
      * 
* * string producer_project_id = 1; - * * @return The bytes for producerProjectId. */ - public com.google.protobuf.ByteString getProducerProjectIdBytes() { + public com.google.protobuf.ByteString + getProducerProjectIdBytes() { java.lang.Object ref = producerProjectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); producerProjectId_ = b; return b; } else { @@ -691,77 +644,67 @@ public com.google.protobuf.ByteString getProducerProjectIdBytes() { } } /** - * - * *
      * Include services produced by the specified project.
      * 
* * string producer_project_id = 1; - * * @param value The producerProjectId to set. * @return This builder for chaining. */ - public Builder setProducerProjectId(java.lang.String value) { + public Builder setProducerProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + producerProjectId_ = value; onChanged(); return this; } /** - * - * *
      * Include services produced by the specified project.
      * 
* * string producer_project_id = 1; - * * @return This builder for chaining. */ public Builder clearProducerProjectId() { - + producerProjectId_ = getDefaultInstance().getProducerProjectId(); onChanged(); return this; } /** - * - * *
      * Include services produced by the specified project.
      * 
* * string producer_project_id = 1; - * * @param value The bytes for producerProjectId to set. * @return This builder for chaining. */ - public Builder setProducerProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProducerProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + producerProjectId_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -769,38 +712,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 5; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The max number of items to include in the response list. Page size is 50
      * if not specified. Maximum value is 100.
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -808,21 +745,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Token identifying which result to start with; returned by a previous list
      * call.
      * 
* * string page_token = 6; - * * @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; @@ -831,22 +766,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Token identifying which result to start with; returned by a previous list
      * call.
      * 
* * string page_token = 6; - * * @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 { @@ -854,64 +788,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Token identifying which result to start with; returned by a previous list
      * call.
      * 
* * string page_token = 6; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Token identifying which result to start with; returned by a previous list
      * call.
      * 
* * string page_token = 6; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Token identifying which result to start with; returned by a previous list
      * call.
      * 
* * string page_token = 6; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -919,8 +846,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object consumerId_ = ""; /** - * - * *
      * Include services consumed by the specified consumer.
      * The Google Service Management implementation accepts the following
@@ -929,16 +854,15 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string consumer_id = 7 [deprecated = true]; - * * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @return The consumerId. */ - @java.lang.Deprecated - public java.lang.String getConsumerId() { + @java.lang.Deprecated public java.lang.String getConsumerId() { java.lang.Object ref = consumerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consumerId_ = s; return s; @@ -947,8 +871,6 @@ public java.lang.String getConsumerId() { } } /** - * - * *
      * Include services consumed by the specified consumer.
      * The Google Service Management implementation accepts the following
@@ -957,17 +879,17 @@ public java.lang.String getConsumerId() {
      * 
* * string consumer_id = 7 [deprecated = true]; - * * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @return The bytes for consumerId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getConsumerIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getConsumerIdBytes() { java.lang.Object ref = consumerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consumerId_ = b; return b; } else { @@ -975,8 +897,6 @@ public com.google.protobuf.ByteString getConsumerIdBytes() { } } /** - * - * *
      * Include services consumed by the specified consumer.
      * The Google Service Management implementation accepts the following
@@ -985,25 +905,22 @@ public com.google.protobuf.ByteString getConsumerIdBytes() {
      * 
* * string consumer_id = 7 [deprecated = true]; - * * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @param value The consumerId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setConsumerId(java.lang.String value) { + @java.lang.Deprecated public Builder setConsumerId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + consumerId_ = value; onChanged(); return this; } /** - * - * *
      * Include services consumed by the specified consumer.
      * The Google Service Management implementation accepts the following
@@ -1012,21 +929,17 @@ public Builder setConsumerId(java.lang.String value) {
      * 
* * string consumer_id = 7 [deprecated = true]; - * * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearConsumerId() { - + @java.lang.Deprecated public Builder clearConsumerId() { + consumerId_ = getDefaultInstance().getConsumerId(); onChanged(); return this; } /** - * - * *
      * Include services consumed by the specified consumer.
      * The Google Service Management implementation accepts the following
@@ -1035,26 +948,25 @@ public Builder clearConsumerId() {
      * 
* * string consumer_id = 7 [deprecated = true]; - * * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @param value The bytes for consumerId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setConsumerIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setConsumerIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + consumerId_ = 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); } @@ -1064,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ListServicesRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ListServicesRequest) private static final com.google.api.servicemanagement.v1.ListServicesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ListServicesRequest(); } @@ -1078,27 +990,27 @@ public static com.google.api.servicemanagement.v1.ListServicesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServicesRequest 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 ListServicesRequest 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; @@ -1113,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.ListServicesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequestOrBuilder.java similarity index 64% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequestOrBuilder.java index cff275390188..8d51ba57458c 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesRequestOrBuilder.java @@ -1,97 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface ListServicesRequestOrBuilder - extends +public interface ListServicesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ListServicesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Include services produced by the specified project.
    * 
* * string producer_project_id = 1; - * * @return The producerProjectId. */ java.lang.String getProducerProjectId(); /** - * - * *
    * Include services produced by the specified project.
    * 
* * string producer_project_id = 1; - * * @return The bytes for producerProjectId. */ - com.google.protobuf.ByteString getProducerProjectIdBytes(); + com.google.protobuf.ByteString + getProducerProjectIdBytes(); /** - * - * *
    * The max number of items to include in the response list. Page size is 50
    * if not specified. Maximum value is 100.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Token identifying which result to start with; returned by a previous list
    * call.
    * 
* * string page_token = 6; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Token identifying which result to start with; returned by a previous list
    * call.
    * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Include services consumed by the specified consumer.
    * The Google Service Management implementation accepts the following
@@ -100,16 +69,12 @@ public interface ListServicesRequestOrBuilder
    * 
* * string consumer_id = 7 [deprecated = true]; - * - * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See - * google/api/servicemanagement/v1/servicemanager.proto;l=277 + * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. + * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @return The consumerId. */ - @java.lang.Deprecated - java.lang.String getConsumerId(); + @java.lang.Deprecated java.lang.String getConsumerId(); /** - * - * *
    * Include services consumed by the specified consumer.
    * The Google Service Management implementation accepts the following
@@ -118,11 +83,10 @@ public interface ListServicesRequestOrBuilder
    * 
* * string consumer_id = 7 [deprecated = true]; - * - * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See - * google/api/servicemanagement/v1/servicemanager.proto;l=277 + * @deprecated google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. + * See google/api/servicemanagement/v1/servicemanager.proto;l=277 * @return The bytes for consumerId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getConsumerIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getConsumerIdBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponse.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponse.java similarity index 73% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponse.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponse.java index 5b52ce403656..376f95641f96 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponse.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Response message for `ListServices` method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServicesResponse} */ -public final class ListServicesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServicesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ListServicesResponse) ListServicesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServicesResponse.newBuilder() to construct. private ListServicesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServicesResponse() { services_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListServicesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServicesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServicesResponse.class, - com.google.api.servicemanagement.v1.ListServicesResponse.Builder.class); + com.google.api.servicemanagement.v1.ListServicesResponse.class, com.google.api.servicemanagement.v1.ListServicesResponse.Builder.class); } public static final int SERVICES_FIELD_NUMBER = 1; private java.util.List services_; /** - * - * *
    * The returned services will only have the name field set.
    * 
@@ -84,8 +63,6 @@ public java.util.List getSer return services_; } /** - * - * *
    * The returned services will only have the name field set.
    * 
@@ -93,13 +70,11 @@ public java.util.List getSer * repeated .google.api.servicemanagement.v1.ManagedService services = 1; */ @java.lang.Override - public java.util.List + public java.util.List getServicesOrBuilderList() { return services_; } /** - * - * *
    * The returned services will only have the name field set.
    * 
@@ -111,8 +86,6 @@ public int getServicesCount() { return services_.size(); } /** - * - * *
    * The returned services will only have the name field set.
    * 
@@ -124,8 +97,6 @@ public com.google.api.servicemanagement.v1.ManagedService getServices(int index) return services_.get(index); } /** - * - * *
    * The returned services will only have the name field set.
    * 
@@ -141,14 +112,11 @@ public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServicesOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token that can be passed to `ListServices` to resume a paginated query.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,29 +125,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; } } /** - * - * *
    * Token that can be passed to `ListServices` to resume a paginated query.
    * 
* * 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +167,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 < services_.size(); i++) { output.writeMessage(1, services_.get(i)); } @@ -217,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < services_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, services_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, services_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +199,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.api.servicemanagement.v1.ListServicesResponse)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ListServicesResponse other = - (com.google.api.servicemanagement.v1.ListServicesResponse) obj; + com.google.api.servicemanagement.v1.ListServicesResponse other = (com.google.api.servicemanagement.v1.ListServicesResponse) obj; - if (!getServicesList().equals(other.getServicesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getServicesList() + .equals(other.getServicesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,136 +233,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ListServicesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ListServicesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ListServicesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.ListServicesResponse prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.ListServicesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Response message for `ListServices` method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.ListServicesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ListServicesResponse) com.google.api.servicemanagement.v1.ListServicesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.ListServicesResponse.class, - com.google.api.servicemanagement.v1.ListServicesResponse.Builder.class); + com.google.api.servicemanagement.v1.ListServicesResponse.class, com.google.api.servicemanagement.v1.ListServicesResponse.Builder.class); } // Construct using com.google.api.servicemanagement.v1.ListServicesResponse.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(); @@ -409,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor; } @java.lang.Override @@ -430,8 +393,7 @@ public com.google.api.servicemanagement.v1.ListServicesResponse build() { @java.lang.Override public com.google.api.servicemanagement.v1.ListServicesResponse buildPartial() { - com.google.api.servicemanagement.v1.ListServicesResponse result = - new com.google.api.servicemanagement.v1.ListServicesResponse(this); + com.google.api.servicemanagement.v1.ListServicesResponse result = new com.google.api.servicemanagement.v1.ListServicesResponse(this); int from_bitField0_ = bitField0_; if (servicesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +413,38 @@ public com.google.api.servicemanagement.v1.ListServicesResponse 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.api.servicemanagement.v1.ListServicesResponse) { - return mergeFrom((com.google.api.servicemanagement.v1.ListServicesResponse) other); + return mergeFrom((com.google.api.servicemanagement.v1.ListServicesResponse)other); } else { super.mergeFrom(other); return this; @@ -491,8 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.ListServicesResponse other) { - if (other == com.google.api.servicemanagement.v1.ListServicesResponse.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.ListServicesResponse.getDefaultInstance()) return this; if (servicesBuilder_ == null) { if (!other.services_.isEmpty()) { if (services_.isEmpty()) { @@ -511,10 +471,9 @@ public Builder mergeFrom(com.google.api.servicemanagement.v1.ListServicesRespons servicesBuilder_ = null; services_ = other.services_; bitField0_ = (bitField0_ & ~0x00000001); - servicesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getServicesFieldBuilder() - : null; + servicesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getServicesFieldBuilder() : null; } else { servicesBuilder_.addAllMessages(other.services_); } @@ -550,33 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.api.servicemanagement.v1.ManagedService m = - input.readMessage( - com.google.api.servicemanagement.v1.ManagedService.parser(), - extensionRegistry); - if (servicesBuilder_ == null) { - ensureServicesIsMutable(); - services_.add(m); - } else { - servicesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.api.servicemanagement.v1.ManagedService m = + input.readMessage( + com.google.api.servicemanagement.v1.ManagedService.parser(), + extensionRegistry); + if (servicesBuilder_ == null) { + ensureServicesIsMutable(); + services_.add(m); + } else { + servicesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -586,29 +542,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List services_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureServicesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - services_ = - new java.util.ArrayList(services_); + services_ = new java.util.ArrayList(services_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> - servicesBuilder_; + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> servicesBuilder_; /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -623,8 +571,6 @@ public java.util.List getSer } } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -639,8 +585,6 @@ public int getServicesCount() { } } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -655,8 +599,6 @@ public com.google.api.servicemanagement.v1.ManagedService getServices(int index) } } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -678,8 +620,6 @@ public Builder setServices( return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -698,8 +638,6 @@ public Builder setServices( return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -720,8 +658,6 @@ public Builder addServices(com.google.api.servicemanagement.v1.ManagedService va return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -743,8 +679,6 @@ public Builder addServices( return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -763,8 +697,6 @@ public Builder addServices( return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -783,8 +715,6 @@ public Builder addServices( return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -795,7 +725,8 @@ public Builder addAllServices( java.lang.Iterable values) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, services_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, services_); onChanged(); } else { servicesBuilder_.addAllMessages(values); @@ -803,8 +734,6 @@ public Builder addAllServices( return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -822,8 +751,6 @@ public Builder clearServices() { return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -841,8 +768,6 @@ public Builder removeServices(int index) { return this; } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -854,8 +779,6 @@ public com.google.api.servicemanagement.v1.ManagedService.Builder getServicesBui return getServicesFieldBuilder().getBuilder(index); } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -865,22 +788,19 @@ public com.google.api.servicemanagement.v1.ManagedService.Builder getServicesBui public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServicesOrBuilder( int index) { if (servicesBuilder_ == null) { - return services_.get(index); - } else { + return services_.get(index); } else { return servicesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The returned services will only have the name field set.
      * 
* * repeated .google.api.servicemanagement.v1.ManagedService services = 1; */ - public java.util.List - getServicesOrBuilderList() { + public java.util.List + getServicesOrBuilderList() { if (servicesBuilder_ != null) { return servicesBuilder_.getMessageOrBuilderList(); } else { @@ -888,8 +808,6 @@ public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServicesOr } } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -897,12 +815,10 @@ public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServicesOr * repeated .google.api.servicemanagement.v1.ManagedService services = 1; */ public com.google.api.servicemanagement.v1.ManagedService.Builder addServicesBuilder() { - return getServicesFieldBuilder() - .addBuilder(com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance()); + return getServicesFieldBuilder().addBuilder( + com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance()); } /** - * - * *
      * The returned services will only have the name field set.
      * 
@@ -911,36 +827,30 @@ public com.google.api.servicemanagement.v1.ManagedService.Builder addServicesBui */ public com.google.api.servicemanagement.v1.ManagedService.Builder addServicesBuilder( int index) { - return getServicesFieldBuilder() - .addBuilder( - index, com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance()); + return getServicesFieldBuilder().addBuilder( + index, com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance()); } /** - * - * *
      * The returned services will only have the name field set.
      * 
* * repeated .google.api.servicemanagement.v1.ManagedService services = 1; */ - public java.util.List - getServicesBuilderList() { + public java.util.List + getServicesBuilderList() { return getServicesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> getServicesFieldBuilder() { if (servicesBuilder_ == null) { - servicesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder>( - services_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + servicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder>( + services_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); services_ = null; } return servicesBuilder_; @@ -948,20 +858,18 @@ public com.google.api.servicemanagement.v1.ManagedService.Builder addServicesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token that can be passed to `ListServices` to resume a paginated query.
      * 
* * 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; @@ -970,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token that can be passed to `ListServices` to resume a paginated query.
      * 
* * 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 { @@ -992,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token that can be passed to `ListServices` to resume a paginated query.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Token that can be passed to `ListServices` to resume a paginated query.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token that can be passed to `ListServices` to resume a paginated query.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1063,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ListServicesResponse) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ListServicesResponse) private static final com.google.api.servicemanagement.v1.ListServicesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ListServicesResponse(); } @@ -1077,27 +977,27 @@ public static com.google.api.servicemanagement.v1.ListServicesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServicesResponse 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 ListServicesResponse 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; @@ -1112,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.ListServicesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponseOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponseOrBuilder.java similarity index 70% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponseOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponseOrBuilder.java index 514b68ed695d..dbf9edefd557 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponseOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ListServicesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface ListServicesResponseOrBuilder - extends +public interface ListServicesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ListServicesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The returned services will only have the name field set.
    * 
* * repeated .google.api.servicemanagement.v1.ManagedService services = 1; */ - java.util.List getServicesList(); + java.util.List + getServicesList(); /** - * - * *
    * The returned services will only have the name field set.
    * 
@@ -44,8 +25,6 @@ public interface ListServicesResponseOrBuilder */ com.google.api.servicemanagement.v1.ManagedService getServices(int index); /** - * - * *
    * The returned services will only have the name field set.
    * 
@@ -54,49 +33,41 @@ public interface ListServicesResponseOrBuilder */ int getServicesCount(); /** - * - * *
    * The returned services will only have the name field set.
    * 
* * repeated .google.api.servicemanagement.v1.ManagedService services = 1; */ - java.util.List + java.util.List getServicesOrBuilderList(); /** - * - * *
    * The returned services will only have the name field set.
    * 
* * repeated .google.api.servicemanagement.v1.ManagedService services = 1; */ - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServicesOrBuilder(int index); + com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServicesOrBuilder( + int index); /** - * - * *
    * Token that can be passed to `ListServices` to resume a paginated query.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token that can be passed to `ListServices` to resume a paginated query.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedService.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedService.java similarity index 68% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedService.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedService.java index b3d627c8b3cc..e077f64e85ce 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedService.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedService.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * The full representation of a Service that is managed by
  * Google Service Management.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.api.servicemanagement.v1.ManagedService}
  */
-public final class ManagedService extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ManagedService extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.ManagedService)
     ManagedServiceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ManagedService.newBuilder() to construct.
   private ManagedService(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ManagedService() {
     serviceName_ = "";
     producerProjectId_ = "";
@@ -45,35 +27,32 @@ private ManagedService() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ManagedService();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.api.servicemanagement.v1.ResourcesProto
-        .internal_static_google_api_servicemanagement_v1_ManagedService_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ManagedService_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.servicemanagement.v1.ResourcesProto
-        .internal_static_google_api_servicemanagement_v1_ManagedService_fieldAccessorTable
+    return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ManagedService_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.api.servicemanagement.v1.ManagedService.class,
-            com.google.api.servicemanagement.v1.ManagedService.Builder.class);
+            com.google.api.servicemanagement.v1.ManagedService.class, com.google.api.servicemanagement.v1.ManagedService.Builder.class);
   }
 
   public static final int SERVICE_NAME_FIELD_NUMBER = 2;
   private volatile java.lang.Object serviceName_;
   /**
-   *
-   *
    * 
    * The name of the service. See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 2; - * * @return The serviceName. */ @java.lang.Override @@ -90,15 +68,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * The name of the service. See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -106,15 +83,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 2; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -125,14 +103,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int PRODUCER_PROJECT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object producerProjectId_; /** - * - * *
    * ID of the project that produces and owns this service.
    * 
* * string producer_project_id = 3; - * * @return The producerProjectId. */ @java.lang.Override @@ -141,29 +116,29 @@ public java.lang.String getProducerProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); producerProjectId_ = s; return s; } } /** - * - * *
    * ID of the project that produces and owns this service.
    * 
* * string producer_project_id = 3; - * * @return The bytes for producerProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProducerProjectIdBytes() { + public com.google.protobuf.ByteString + getProducerProjectIdBytes() { java.lang.Object ref = producerProjectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); producerProjectId_ = b; return b; } else { @@ -172,7 +147,6 @@ public com.google.protobuf.ByteString getProducerProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +158,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceName_); } @@ -214,16 +189,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.api.servicemanagement.v1.ManagedService)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.ManagedService other = - (com.google.api.servicemanagement.v1.ManagedService) obj; + com.google.api.servicemanagement.v1.ManagedService other = (com.google.api.servicemanagement.v1.ManagedService) obj; - if (!getServiceName().equals(other.getServiceName())) return false; - if (!getProducerProjectId().equals(other.getProducerProjectId())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; + if (!getProducerProjectId() + .equals(other.getProducerProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,103 +221,96 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.ManagedService parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ManagedService parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ManagedService parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ManagedService parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ManagedService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.ManagedService parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ManagedService parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ManagedService parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ManagedService parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.ManagedService parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.ManagedService parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ManagedService parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.ManagedService parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.ManagedService parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.servicemanagement.v1.ManagedService prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * The full representation of a Service that is managed by
    * Google Service Management.
@@ -349,32 +318,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.api.servicemanagement.v1.ManagedService}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.ManagedService)
       com.google.api.servicemanagement.v1.ManagedServiceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ManagedService_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ManagedService_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ManagedService_fieldAccessorTable
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ManagedService_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.servicemanagement.v1.ManagedService.class,
-              com.google.api.servicemanagement.v1.ManagedService.Builder.class);
+              com.google.api.servicemanagement.v1.ManagedService.class, com.google.api.servicemanagement.v1.ManagedService.Builder.class);
     }
 
     // Construct using com.google.api.servicemanagement.v1.ManagedService.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();
@@ -386,9 +356,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_ManagedService_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_ManagedService_descriptor;
     }
 
     @java.lang.Override
@@ -407,8 +377,7 @@ public com.google.api.servicemanagement.v1.ManagedService build() {
 
     @java.lang.Override
     public com.google.api.servicemanagement.v1.ManagedService buildPartial() {
-      com.google.api.servicemanagement.v1.ManagedService result =
-          new com.google.api.servicemanagement.v1.ManagedService(this);
+      com.google.api.servicemanagement.v1.ManagedService result = new com.google.api.servicemanagement.v1.ManagedService(this);
       result.serviceName_ = serviceName_;
       result.producerProjectId_ = producerProjectId_;
       onBuilt();
@@ -419,39 +388,38 @@ public com.google.api.servicemanagement.v1.ManagedService 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.api.servicemanagement.v1.ManagedService) {
-        return mergeFrom((com.google.api.servicemanagement.v1.ManagedService) other);
+        return mergeFrom((com.google.api.servicemanagement.v1.ManagedService)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -459,8 +427,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.api.servicemanagement.v1.ManagedService other) {
-      if (other == com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance())
-        return this;
+      if (other == com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance()) return this;
       if (!other.getServiceName().isEmpty()) {
         serviceName_ = other.serviceName_;
         onChanged();
@@ -495,25 +462,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                serviceName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                producerProjectId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              serviceName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              producerProjectId_ = input.readStringRequireUtf8();
+
+              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) {
@@ -526,8 +490,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceName_ = "";
     /**
-     *
-     *
      * 
      * The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -535,13 +497,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 2; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -550,8 +512,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -559,14 +519,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 2; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -574,8 +535,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -583,22 +542,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 2; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -606,18 +563,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 2; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -625,16 +579,16 @@ public Builder clearServiceName() {
      * 
* * string service_name = 2; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -642,20 +596,18 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object producerProjectId_ = ""; /** - * - * *
      * ID of the project that produces and owns this service.
      * 
* * string producer_project_id = 3; - * * @return The producerProjectId. */ public java.lang.String getProducerProjectId() { java.lang.Object ref = producerProjectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); producerProjectId_ = s; return s; @@ -664,21 +616,20 @@ public java.lang.String getProducerProjectId() { } } /** - * - * *
      * ID of the project that produces and owns this service.
      * 
* * string producer_project_id = 3; - * * @return The bytes for producerProjectId. */ - public com.google.protobuf.ByteString getProducerProjectIdBytes() { + public com.google.protobuf.ByteString + getProducerProjectIdBytes() { java.lang.Object ref = producerProjectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); producerProjectId_ = b; return b; } else { @@ -686,68 +637,61 @@ public com.google.protobuf.ByteString getProducerProjectIdBytes() { } } /** - * - * *
      * ID of the project that produces and owns this service.
      * 
* * string producer_project_id = 3; - * * @param value The producerProjectId to set. * @return This builder for chaining. */ - public Builder setProducerProjectId(java.lang.String value) { + public Builder setProducerProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + producerProjectId_ = value; onChanged(); return this; } /** - * - * *
      * ID of the project that produces and owns this service.
      * 
* * string producer_project_id = 3; - * * @return This builder for chaining. */ public Builder clearProducerProjectId() { - + producerProjectId_ = getDefaultInstance().getProducerProjectId(); onChanged(); return this; } /** - * - * *
      * ID of the project that produces and owns this service.
      * 
* * string producer_project_id = 3; - * * @param value The bytes for producerProjectId to set. * @return This builder for chaining. */ - public Builder setProducerProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProducerProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + producerProjectId_ = 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); } @@ -757,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.ManagedService) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.ManagedService) private static final com.google.api.servicemanagement.v1.ManagedService DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.ManagedService(); } @@ -771,27 +715,27 @@ public static com.google.api.servicemanagement.v1.ManagedService getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagedService 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 ManagedService 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; @@ -806,4 +750,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.ManagedService getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedServiceOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedServiceOrBuilder.java similarity index 61% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedServiceOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedServiceOrBuilder.java index d51ffd700885..3b29ff10d68c 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedServiceOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ManagedServiceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; -public interface ManagedServiceOrBuilder - extends +public interface ManagedServiceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.ManagedService) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the service. See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -33,13 +15,10 @@ public interface ManagedServiceOrBuilder
    * 
* * string service_name = 2; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * The name of the service. See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview)
@@ -47,33 +26,28 @@ public interface ManagedServiceOrBuilder
    * 
* * string service_name = 2; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * ID of the project that produces and owns this service.
    * 
* * string producer_project_id = 3; - * * @return The producerProjectId. */ java.lang.String getProducerProjectId(); /** - * - * *
    * ID of the project that produces and owns this service.
    * 
* * string producer_project_id = 3; - * * @return The bytes for producerProjectId. */ - com.google.protobuf.ByteString getProducerProjectIdBytes(); + com.google.protobuf.ByteString + getProducerProjectIdBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadata.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadata.java similarity index 73% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadata.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadata.java index 896794400233..ba82c49022cb 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadata.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * The metadata associated with a long running operation resource.
  * 
* * Protobuf type {@code google.api.servicemanagement.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.api.servicemanagement.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() { resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; steps_ = java.util.Collections.emptyList(); @@ -44,43 +26,39 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.OperationMetadata.class, - com.google.api.servicemanagement.v1.OperationMetadata.Builder.class); + com.google.api.servicemanagement.v1.OperationMetadata.class, com.google.api.servicemanagement.v1.OperationMetadata.Builder.class); } /** - * - * *
    * Code describes the status of the operation (or one of its steps).
    * 
* * Protobuf enum {@code google.api.servicemanagement.v1.OperationMetadata.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecifed code.
      * 
@@ -89,8 +67,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * The operation or step has completed without errors.
      * 
@@ -99,8 +75,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ DONE(1), /** - * - * *
      * The operation or step has not started yet.
      * 
@@ -109,8 +83,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ NOT_STARTED(2), /** - * - * *
      * The operation or step is in progress.
      * 
@@ -119,8 +91,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(3), /** - * - * *
      * The operation or step has completed with errors. If the operation is
      * rollbackable, the rollback completed with errors too.
@@ -130,8 +100,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(4),
     /**
-     *
-     *
      * 
      * The operation or step has completed with cancellation.
      * 
@@ -143,8 +111,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecifed code.
      * 
@@ -153,8 +119,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The operation or step has completed without errors.
      * 
@@ -163,8 +127,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DONE_VALUE = 1; /** - * - * *
      * The operation or step has not started yet.
      * 
@@ -173,8 +135,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOT_STARTED_VALUE = 2; /** - * - * *
      * The operation or step is in progress.
      * 
@@ -183,8 +143,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 3; /** - * - * *
      * The operation or step has completed with errors. If the operation is
      * rollbackable, the rollback completed with errors too.
@@ -194,8 +152,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 4;
     /**
-     *
-     *
      * 
      * The operation or step has completed with cancellation.
      * 
@@ -204,6 +160,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -228,57 +185,52 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: - return STATUS_UNSPECIFIED; - case 1: - return DONE; - case 2: - return NOT_STARTED; - case 3: - return IN_PROGRESS; - case 4: - return FAILED; - case 5: - return CANCELLED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATUS_UNSPECIFIED; + case 1: return DONE; + case 2: return NOT_STARTED; + case 3: return IN_PROGRESS; + case 4: return FAILED; + case 5: return CANCELLED; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Status> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Status findValueByNumber(int number) { + return Status.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.api.servicemanagement.v1.OperationMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.OperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Status 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; @@ -295,80 +247,65 @@ private Status(int value) { // @@protoc_insertion_point(enum_scope:google.api.servicemanagement.v1.OperationMetadata.Status) } - public interface StepOrBuilder - extends + public interface StepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.OperationMetadata.Step) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The short description of the step.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * The short description of the step.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * The status code.
      * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
      * The status code.
      * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @return The status. */ com.google.api.servicemanagement.v1.OperationMetadata.Status getStatus(); } /** - * - * *
    * Represents the status of one operation step.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.OperationMetadata.Step} */ - public static final class Step extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Step extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.OperationMetadata.Step) StepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Step.newBuilder() to construct. private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Step() { description_ = ""; status_ = 0; @@ -376,41 +313,37 @@ private Step() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Step(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.OperationMetadata.Step.class, - com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder.class); + com.google.api.servicemanagement.v1.OperationMetadata.Step.class, com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder.class); } public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * The short description of the step.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -419,29 +352,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * The short description of the step.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -452,43 +385,31 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** - * - * *
      * The status code.
      * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * The status code.
      * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @return The status. */ - @java.lang.Override - public com.google.api.servicemanagement.v1.OperationMetadata.Status getStatus() { + @java.lang.Override public com.google.api.servicemanagement.v1.OperationMetadata.Status getStatus() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.OperationMetadata.Status result = - com.google.api.servicemanagement.v1.OperationMetadata.Status.valueOf(status_); - return result == null - ? com.google.api.servicemanagement.v1.OperationMetadata.Status.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.OperationMetadata.Status result = com.google.api.servicemanagement.v1.OperationMetadata.Status.valueOf(status_); + return result == null ? com.google.api.servicemanagement.v1.OperationMetadata.Status.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -500,13 +421,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } - if (status_ - != com.google.api.servicemanagement.v1.OperationMetadata.Status.STATUS_UNSPECIFIED - .getNumber()) { + if (status_ != com.google.api.servicemanagement.v1.OperationMetadata.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, status_); } getUnknownFields().writeTo(output); @@ -521,10 +441,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } - if (status_ - != com.google.api.servicemanagement.v1.OperationMetadata.Status.STATUS_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, status_); + if (status_ != com.google.api.servicemanagement.v1.OperationMetadata.Status.STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, status_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -534,15 +453,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.api.servicemanagement.v1.OperationMetadata.Step)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.OperationMetadata.Step other = - (com.google.api.servicemanagement.v1.OperationMetadata.Step) obj; + com.google.api.servicemanagement.v1.OperationMetadata.Step other = (com.google.api.servicemanagement.v1.OperationMetadata.Step) obj; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (status_ != other.status_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -565,94 +484,87 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.OperationMetadata.Step parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.OperationMetadata.Step prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.OperationMetadata.Step prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -662,41 +574,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents the status of one operation step.
      * 
* * Protobuf type {@code google.api.servicemanagement.v1.OperationMetadata.Step} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.OperationMetadata.Step) com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.OperationMetadata.Step.class, - com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder.class); + com.google.api.servicemanagement.v1.OperationMetadata.Step.class, com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder.class); } // Construct using com.google.api.servicemanagement.v1.OperationMetadata.Step.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(); @@ -708,14 +618,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.OperationMetadata.Step - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.OperationMetadata.Step getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.OperationMetadata.Step.getDefaultInstance(); } @@ -730,8 +639,7 @@ public com.google.api.servicemanagement.v1.OperationMetadata.Step build() { @java.lang.Override public com.google.api.servicemanagement.v1.OperationMetadata.Step buildPartial() { - com.google.api.servicemanagement.v1.OperationMetadata.Step result = - new com.google.api.servicemanagement.v1.OperationMetadata.Step(this); + com.google.api.servicemanagement.v1.OperationMetadata.Step result = new com.google.api.servicemanagement.v1.OperationMetadata.Step(this); result.description_ = description_; result.status_ = status_; onBuilt(); @@ -742,41 +650,38 @@ public com.google.api.servicemanagement.v1.OperationMetadata.Step buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.OperationMetadata.Step) { - return mergeFrom((com.google.api.servicemanagement.v1.OperationMetadata.Step) other); + return mergeFrom((com.google.api.servicemanagement.v1.OperationMetadata.Step)other); } else { super.mergeFrom(other); return this; @@ -784,9 +689,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.OperationMetadata.Step other) { - if (other - == com.google.api.servicemanagement.v1.OperationMetadata.Step.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.OperationMetadata.Step.getDefaultInstance()) return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); @@ -820,25 +723,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - description_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 32: - { - status_ = input.readEnum(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + description_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 32: { + status_ = input.readEnum(); + + break; + } // case 32 + 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) { @@ -851,20 +751,18 @@ public Builder mergeFrom( private java.lang.Object description_ = ""; /** - * - * *
        * The short description of the step.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -873,21 +771,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * The short description of the step.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -895,61 +792,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * The short description of the step.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * The short description of the step.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * The short description of the step.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -957,67 +847,51 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
        * The status code.
        * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
        * The status code.
        * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
        * The status code.
        * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @return The status. */ @java.lang.Override public com.google.api.servicemanagement.v1.OperationMetadata.Status getStatus() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.OperationMetadata.Status result = - com.google.api.servicemanagement.v1.OperationMetadata.Status.valueOf(status_); - return result == null - ? com.google.api.servicemanagement.v1.OperationMetadata.Status.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.OperationMetadata.Status result = com.google.api.servicemanagement.v1.OperationMetadata.Status.valueOf(status_); + return result == null ? com.google.api.servicemanagement.v1.OperationMetadata.Status.UNRECOGNIZED : result; } /** - * - * *
        * The status code.
        * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @param value The status to set. * @return This builder for chaining. */ @@ -1025,29 +899,25 @@ public Builder setStatus(com.google.api.servicemanagement.v1.OperationMetadata.S if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The status code.
        * 
* * .google.api.servicemanagement.v1.OperationMetadata.Status status = 4; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1060,13 +930,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.OperationMetadata.Step) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.OperationMetadata.Step) - private static final com.google.api.servicemanagement.v1.OperationMetadata.Step - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.OperationMetadata.Step DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.OperationMetadata.Step(); } @@ -1075,28 +944,27 @@ public static com.google.api.servicemanagement.v1.OperationMetadata.Step getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Step parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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 Step 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; @@ -1111,50 +979,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.OperationMetadata.Step getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int RESOURCE_NAMES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList resourceNames_; /** - * - * *
    * The full name of the resources that this operation is directly
    * associated with.
    * 
* * repeated string resource_names = 1; - * * @return A list containing the resourceNames. */ - public com.google.protobuf.ProtocolStringList getResourceNamesList() { + public com.google.protobuf.ProtocolStringList + getResourceNamesList() { return resourceNames_; } /** - * - * *
    * The full name of the resources that this operation is directly
    * associated with.
    * 
* * repeated string resource_names = 1; - * * @return The count of resourceNames. */ public int getResourceNamesCount() { return resourceNames_.size(); } /** - * - * *
    * The full name of the resources that this operation is directly
    * associated with.
    * 
* * repeated string resource_names = 1; - * * @param index The index of the element to return. * @return The resourceNames at the given index. */ @@ -1162,27 +1023,23 @@ public java.lang.String getResourceNames(int index) { return resourceNames_.get(index); } /** - * - * *
    * The full name of the resources that this operation is directly
    * associated with.
    * 
* * repeated string resource_names = 1; - * * @param index The index of the value to return. * @return The bytes of the resourceNames at the given index. */ - public com.google.protobuf.ByteString getResourceNamesBytes(int index) { + public com.google.protobuf.ByteString + getResourceNamesBytes(int index) { return resourceNames_.getByteString(index); } public static final int STEPS_FIELD_NUMBER = 2; private java.util.List steps_; /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
@@ -1194,8 +1051,6 @@ public java.util.List * Detailed status information for each step. The order is undetermined. *
@@ -1203,14 +1058,11 @@ public java.util.Listrepeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder> + public java.util.List getStepsOrBuilderList() { return steps_; } /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
@@ -1222,8 +1074,6 @@ public int getStepsCount() { return steps_.size(); } /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
@@ -1235,8 +1085,6 @@ public com.google.api.servicemanagement.v1.OperationMetadata.Step getSteps(int i return steps_.get(index); } /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
@@ -1252,14 +1100,11 @@ public com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder getSt public static final int PROGRESS_PERCENTAGE_FIELD_NUMBER = 3; private int progressPercentage_; /** - * - * *
    * Percentage of completion of this operation, ranging from 0 to 100.
    * 
* * int32 progress_percentage = 3; - * * @return The progressPercentage. */ @java.lang.Override @@ -1270,14 +1115,11 @@ public int getProgressPercentage() { public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The start time of the operation.
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -1285,14 +1127,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The start time of the operation.
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ @java.lang.Override @@ -1300,8 +1139,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The start time of the operation.
    * 
@@ -1314,7 +1151,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1326,7 +1162,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 < resourceNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceNames_.getRaw(i)); } @@ -1357,13 +1194,16 @@ public int getSerializedSize() { size += 1 * getResourceNamesList().size(); } for (int i = 0; i < steps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, steps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, steps_.get(i)); } if (progressPercentage_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, progressPercentage_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, progressPercentage_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStartTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1373,20 +1213,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.api.servicemanagement.v1.OperationMetadata)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.OperationMetadata other = - (com.google.api.servicemanagement.v1.OperationMetadata) obj; + com.google.api.servicemanagement.v1.OperationMetadata other = (com.google.api.servicemanagement.v1.OperationMetadata) obj; - if (!getResourceNamesList().equals(other.getResourceNamesList())) return false; - if (!getStepsList().equals(other.getStepsList())) return false; - if (getProgressPercentage() != other.getProgressPercentage()) return false; + if (!getResourceNamesList() + .equals(other.getResourceNamesList())) return false; + if (!getStepsList() + .equals(other.getStepsList())) return false; + if (getProgressPercentage() + != other.getProgressPercentage()) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1419,136 +1262,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.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.api.servicemanagement.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.api.servicemanagement.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.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.api.servicemanagement.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.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.api.servicemanagement.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.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.api.servicemanagement.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.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.api.servicemanagement.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.api.servicemanagement.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.api.servicemanagement.v1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.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; } /** - * - * *
    * The metadata associated with a long running operation resource.
    * 
* * Protobuf type {@code google.api.servicemanagement.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.api.servicemanagement.v1.OperationMetadata) com.google.api.servicemanagement.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_fieldAccessorTable + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.OperationMetadata.class, - com.google.api.servicemanagement.v1.OperationMetadata.Builder.class); + com.google.api.servicemanagement.v1.OperationMetadata.class, com.google.api.servicemanagement.v1.OperationMetadata.Builder.class); } // Construct using com.google.api.servicemanagement.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(); @@ -1573,9 +1409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ResourcesProto - .internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -1594,8 +1430,7 @@ public com.google.api.servicemanagement.v1.OperationMetadata build() { @java.lang.Override public com.google.api.servicemanagement.v1.OperationMetadata buildPartial() { - com.google.api.servicemanagement.v1.OperationMetadata result = - new com.google.api.servicemanagement.v1.OperationMetadata(this); + com.google.api.servicemanagement.v1.OperationMetadata result = new com.google.api.servicemanagement.v1.OperationMetadata(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { resourceNames_ = resourceNames_.getUnmodifiableView(); @@ -1625,39 +1460,38 @@ public com.google.api.servicemanagement.v1.OperationMetadata 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.api.servicemanagement.v1.OperationMetadata) { - return mergeFrom((com.google.api.servicemanagement.v1.OperationMetadata) other); + return mergeFrom((com.google.api.servicemanagement.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -1665,8 +1499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.OperationMetadata other) { - if (other == com.google.api.servicemanagement.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.OperationMetadata.getDefaultInstance()) return this; if (!other.resourceNames_.isEmpty()) { if (resourceNames_.isEmpty()) { resourceNames_ = other.resourceNames_; @@ -1695,10 +1528,9 @@ public Builder mergeFrom(com.google.api.servicemanagement.v1.OperationMetadata o stepsBuilder_ = null; steps_ = other.steps_; bitField0_ = (bitField0_ & ~0x00000002); - stepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStepsFieldBuilder() - : null; + stepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStepsFieldBuilder() : null; } else { stepsBuilder_.addAllMessages(other.steps_); } @@ -1736,46 +1568,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureResourceNamesIsMutable(); - resourceNames_.add(s); - break; - } // case 10 - case 18: - { - com.google.api.servicemanagement.v1.OperationMetadata.Step m = - input.readMessage( - com.google.api.servicemanagement.v1.OperationMetadata.Step.parser(), - extensionRegistry); - if (stepsBuilder_ == null) { - ensureStepsIsMutable(); - steps_.add(m); - } else { - stepsBuilder_.addMessage(m); - } - break; - } // case 18 - case 24: - { - progressPercentage_ = input.readInt32(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureResourceNamesIsMutable(); + resourceNames_.add(s); + break; + } // case 10 + case 18: { + com.google.api.servicemanagement.v1.OperationMetadata.Step m = + input.readMessage( + com.google.api.servicemanagement.v1.OperationMetadata.Step.parser(), + extensionRegistry); + if (stepsBuilder_ == null) { + ensureStepsIsMutable(); + steps_.add(m); + } else { + stepsBuilder_.addMessage(m); + } + break; + } // case 18 + case 24: { + progressPercentage_ = input.readInt32(); - break; - } // case 24 - case 34: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 24 + case 34: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1785,58 +1614,47 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList resourceNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureResourceNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { resourceNames_ = new com.google.protobuf.LazyStringArrayList(resourceNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @return A list containing the resourceNames. */ - public com.google.protobuf.ProtocolStringList getResourceNamesList() { + public com.google.protobuf.ProtocolStringList + getResourceNamesList() { return resourceNames_.getUnmodifiableView(); } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @return The count of resourceNames. */ public int getResourceNamesCount() { return resourceNames_.size(); } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @param index The index of the element to return. * @return The resourceNames at the given index. */ @@ -1844,95 +1662,85 @@ public java.lang.String getResourceNames(int index) { return resourceNames_.get(index); } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @param index The index of the value to return. * @return The bytes of the resourceNames at the given index. */ - public com.google.protobuf.ByteString getResourceNamesBytes(int index) { + public com.google.protobuf.ByteString + getResourceNamesBytes(int index) { return resourceNames_.getByteString(index); } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @param index The index to set the value at. * @param value The resourceNames to set. * @return This builder for chaining. */ - public Builder setResourceNames(int index, java.lang.String value) { + public Builder setResourceNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResourceNamesIsMutable(); + throw new NullPointerException(); + } + ensureResourceNamesIsMutable(); resourceNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @param value The resourceNames to add. * @return This builder for chaining. */ - public Builder addResourceNames(java.lang.String value) { + public Builder addResourceNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResourceNamesIsMutable(); + throw new NullPointerException(); + } + ensureResourceNamesIsMutable(); resourceNames_.add(value); onChanged(); return this; } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @param values The resourceNames to add. * @return This builder for chaining. */ - public Builder addAllResourceNames(java.lang.Iterable values) { + public Builder addAllResourceNames( + java.lang.Iterable values) { ensureResourceNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceNames_); onChanged(); return this; } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @return This builder for chaining. */ public Builder clearResourceNames() { @@ -1942,23 +1750,21 @@ public Builder clearResourceNames() { return this; } /** - * - * *
      * The full name of the resources that this operation is directly
      * associated with.
      * 
* * repeated string resource_names = 1; - * * @param value The bytes of the resourceNames to add. * @return This builder for chaining. */ - public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) { + public Builder addResourceNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureResourceNamesIsMutable(); resourceNames_.add(value); onChanged(); @@ -1966,34 +1772,25 @@ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) { } private java.util.List steps_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStepsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - steps_ = - new java.util.ArrayList( - steps_); + steps_ = new java.util.ArrayList(steps_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.OperationMetadata.Step, - com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder, - com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder> - stepsBuilder_; + com.google.api.servicemanagement.v1.OperationMetadata.Step, com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder, com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder> stepsBuilder_; /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
* * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ - public java.util.List - getStepsList() { + public java.util.List getStepsList() { if (stepsBuilder_ == null) { return java.util.Collections.unmodifiableList(steps_); } else { @@ -2001,8 +1798,6 @@ private void ensureStepsIsMutable() { } } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2017,8 +1812,6 @@ public int getStepsCount() { } } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2033,8 +1826,6 @@ public com.google.api.servicemanagement.v1.OperationMetadata.Step getSteps(int i } } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2056,8 +1847,6 @@ public Builder setSteps( return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2065,8 +1854,7 @@ public Builder setSteps( * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ public Builder setSteps( - int index, - com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder builderForValue) { + int index, com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder builderForValue) { if (stepsBuilder_ == null) { ensureStepsIsMutable(); steps_.set(index, builderForValue.build()); @@ -2077,8 +1865,6 @@ public Builder setSteps( return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2099,8 +1885,6 @@ public Builder addSteps(com.google.api.servicemanagement.v1.OperationMetadata.St return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2122,8 +1906,6 @@ public Builder addSteps( return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2142,8 +1924,6 @@ public Builder addSteps( return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2151,8 +1931,7 @@ public Builder addSteps( * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ public Builder addSteps( - int index, - com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder builderForValue) { + int index, com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder builderForValue) { if (stepsBuilder_ == null) { ensureStepsIsMutable(); steps_.add(index, builderForValue.build()); @@ -2163,8 +1942,6 @@ public Builder addSteps( return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2172,11 +1949,11 @@ public Builder addSteps( * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ public Builder addAllSteps( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (stepsBuilder_ == null) { ensureStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, steps_); onChanged(); } else { stepsBuilder_.addAllMessages(values); @@ -2184,8 +1961,6 @@ public Builder addAllSteps( return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2203,8 +1978,6 @@ public Builder clearSteps() { return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2222,8 +1995,6 @@ public Builder removeSteps(int index) { return this; } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2235,8 +2006,6 @@ public com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder getSte return getStepsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2246,23 +2015,19 @@ public com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder getSte public com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder getStepsOrBuilder( int index) { if (stepsBuilder_ == null) { - return steps_.get(index); - } else { + return steps_.get(index); } else { return stepsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
* * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ - public java.util.List< - ? extends com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder> - getStepsOrBuilderList() { + public java.util.List + getStepsOrBuilderList() { if (stepsBuilder_ != null) { return stepsBuilder_.getMessageOrBuilderList(); } else { @@ -2270,8 +2035,6 @@ public com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder getSt } } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2279,13 +2042,10 @@ public com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder getSt * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ public com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder addStepsBuilder() { - return getStepsFieldBuilder() - .addBuilder( - com.google.api.servicemanagement.v1.OperationMetadata.Step.getDefaultInstance()); + return getStepsFieldBuilder().addBuilder( + com.google.api.servicemanagement.v1.OperationMetadata.Step.getDefaultInstance()); } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
@@ -2294,52 +2054,42 @@ public com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder addSte */ public com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder addStepsBuilder( int index) { - return getStepsFieldBuilder() - .addBuilder( - index, - com.google.api.servicemanagement.v1.OperationMetadata.Step.getDefaultInstance()); + return getStepsFieldBuilder().addBuilder( + index, com.google.api.servicemanagement.v1.OperationMetadata.Step.getDefaultInstance()); } /** - * - * *
      * Detailed status information for each step. The order is undetermined.
      * 
* * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ - public java.util.List - getStepsBuilderList() { + public java.util.List + getStepsBuilderList() { return getStepsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.OperationMetadata.Step, - com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder, - com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder> + com.google.api.servicemanagement.v1.OperationMetadata.Step, com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder, com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder> getStepsFieldBuilder() { if (stepsBuilder_ == null) { - stepsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.servicemanagement.v1.OperationMetadata.Step, - com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder, - com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder>( - steps_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.servicemanagement.v1.OperationMetadata.Step, com.google.api.servicemanagement.v1.OperationMetadata.Step.Builder, com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder>( + steps_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); steps_ = null; } return stepsBuilder_; } - private int progressPercentage_; + private int progressPercentage_ ; /** - * - * *
      * Percentage of completion of this operation, ranging from 0 to 100.
      * 
* * int32 progress_percentage = 3; - * * @return The progressPercentage. */ @java.lang.Override @@ -2347,36 +2097,30 @@ public int getProgressPercentage() { return progressPercentage_; } /** - * - * *
      * Percentage of completion of this operation, ranging from 0 to 100.
      * 
* * int32 progress_percentage = 3; - * * @param value The progressPercentage to set. * @return This builder for chaining. */ public Builder setProgressPercentage(int value) { - + progressPercentage_ = value; onChanged(); return this; } /** - * - * *
      * Percentage of completion of this operation, ranging from 0 to 100.
      * 
* * int32 progress_percentage = 3; - * * @return This builder for chaining. */ public Builder clearProgressPercentage() { - + progressPercentage_ = 0; onChanged(); return this; @@ -2384,33 +2128,24 @@ public Builder clearProgressPercentage() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The start time of the operation.
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The start time of the operation.
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2421,8 +2156,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The start time of the operation.
      * 
@@ -2443,15 +2176,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The start time of the operation.
      * 
* * .google.protobuf.Timestamp start_time = 4; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -2462,8 +2194,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The start time of the operation.
      * 
@@ -2474,7 +2204,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2486,8 +2216,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The start time of the operation.
      * 
@@ -2506,8 +2234,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The start time of the operation.
      * 
@@ -2515,13 +2241,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 4; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The start time of the operation.
      * 
@@ -2532,12 +2256,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The start time of the operation.
      * 
@@ -2545,24 +2268,21 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; } - @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); } @@ -2572,12 +2292,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.OperationMetadata) private static final com.google.api.servicemanagement.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.OperationMetadata(); } @@ -2586,27 +2306,27 @@ public static com.google.api.servicemanagement.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; @@ -2621,4 +2341,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadataOrBuilder.java similarity index 77% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadataOrBuilder.java index 08f1c091808d..45d4425400a0 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/OperationMetadataOrBuilder.java @@ -1,96 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full name of the resources that this operation is directly
    * associated with.
    * 
* * repeated string resource_names = 1; - * * @return A list containing the resourceNames. */ - java.util.List getResourceNamesList(); + java.util.List + getResourceNamesList(); /** - * - * *
    * The full name of the resources that this operation is directly
    * associated with.
    * 
* * repeated string resource_names = 1; - * * @return The count of resourceNames. */ int getResourceNamesCount(); /** - * - * *
    * The full name of the resources that this operation is directly
    * associated with.
    * 
* * repeated string resource_names = 1; - * * @param index The index of the element to return. * @return The resourceNames at the given index. */ java.lang.String getResourceNames(int index); /** - * - * *
    * The full name of the resources that this operation is directly
    * associated with.
    * 
* * repeated string resource_names = 1; - * * @param index The index of the value to return. * @return The bytes of the resourceNames at the given index. */ - com.google.protobuf.ByteString getResourceNamesBytes(int index); + com.google.protobuf.ByteString + getResourceNamesBytes(int index); /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
* * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ - java.util.List getStepsList(); + java.util.List + getStepsList(); /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
@@ -99,8 +70,6 @@ public interface OperationMetadataOrBuilder */ com.google.api.servicemanagement.v1.OperationMetadata.Step getSteps(int index); /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
@@ -109,67 +78,53 @@ public interface OperationMetadataOrBuilder */ int getStepsCount(); /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
* * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ - java.util.List + java.util.List getStepsOrBuilderList(); /** - * - * *
    * Detailed status information for each step. The order is undetermined.
    * 
* * repeated .google.api.servicemanagement.v1.OperationMetadata.Step steps = 2; */ - com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder getStepsOrBuilder(int index); + com.google.api.servicemanagement.v1.OperationMetadata.StepOrBuilder getStepsOrBuilder( + int index); /** - * - * *
    * Percentage of completion of this operation, ranging from 0 to 100.
    * 
* * int32 progress_percentage = 3; - * * @return The progressPercentage. */ int getProgressPercentage(); /** - * - * *
    * The start time of the operation.
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The start time of the operation.
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The start time of the operation.
    * 
diff --git a/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ResourcesProto.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ResourcesProto.java new file mode 100644 index 000000000000..aa46abed2c9f --- /dev/null +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ResourcesProto.java @@ -0,0 +1,235 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/api/servicemanagement/v1/resources.proto + +package com.google.api.servicemanagement.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + 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_api_servicemanagement_v1_ManagedService_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ManagedService_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_Diagnostic_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ConfigSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ConfigFile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ConfigRef_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ChangeReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_Rollout_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_Rollout_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/api/servicemanagement/v1/resour" + + "ces.proto\022\037google.api.servicemanagement." + + "v1\032\036google/api/config_change.proto\032\037goog" + + "le/api/field_behavior.proto\032\037google/prot" + + "obuf/timestamp.proto\"C\n\016ManagedService\022\024" + + "\n\014service_name\030\002 \001(\t\022\033\n\023producer_project" + + "_id\030\003 \001(\t\"\221\003\n\021OperationMetadata\022\026\n\016resou" + + "rce_names\030\001 \003(\t\022F\n\005steps\030\002 \003(\01327.google." + + "api.servicemanagement.v1.OperationMetada" + + "ta.Step\022\033\n\023progress_percentage\030\003 \001(\005\022.\n\n" + + "start_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tamp\032f\n\004Step\022\023\n\013description\030\002 \001(\t\022I\n\006sta" + + "tus\030\004 \001(\01629.google.api.servicemanagement" + + ".v1.OperationMetadata.Status\"g\n\006Status\022\026" + + "\n\022STATUS_UNSPECIFIED\020\000\022\010\n\004DONE\020\001\022\017\n\013NOT_" + + "STARTED\020\002\022\017\n\013IN_PROGRESS\020\003\022\n\n\006FAILED\020\004\022\r" + + "\n\tCANCELLED\020\005\"\217\001\n\nDiagnostic\022\020\n\010location" + + "\030\001 \001(\t\022>\n\004kind\030\002 \001(\01620.google.api.servic" + + "emanagement.v1.Diagnostic.Kind\022\017\n\007messag" + + "e\030\003 \001(\t\"\036\n\004Kind\022\013\n\007WARNING\020\000\022\t\n\005ERROR\020\001\"" + + "V\n\014ConfigSource\022\n\n\002id\030\005 \001(\t\022:\n\005files\030\002 \003" + + "(\0132+.google.api.servicemanagement.v1.Con" + + "figFile\"\225\002\n\nConfigFile\022\021\n\tfile_path\030\001 \001(" + + "\t\022\025\n\rfile_contents\030\003 \001(\014\022G\n\tfile_type\030\004 " + + "\001(\01624.google.api.servicemanagement.v1.Co" + + "nfigFile.FileType\"\223\001\n\010FileType\022\031\n\025FILE_T" + + "YPE_UNSPECIFIED\020\000\022\027\n\023SERVICE_CONFIG_YAML" + + "\020\001\022\021\n\rOPEN_API_JSON\020\002\022\021\n\rOPEN_API_YAML\020\003" + + "\022\035\n\031FILE_DESCRIPTOR_SET_PROTO\020\004\022\016\n\nPROTO" + + "_FILE\020\006\"\031\n\tConfigRef\022\014\n\004name\030\001 \001(\t\"@\n\014Ch" + + "angeReport\0220\n\016config_changes\030\001 \003(\0132\030.goo" + + "gle.api.ConfigChange\"\371\005\n\007Rollout\022\027\n\nroll" + + "out_id\030\001 \001(\tB\003\340A\001\022/\n\013create_time\030\002 \001(\0132\032" + + ".google.protobuf.Timestamp\022\022\n\ncreated_by" + + "\030\003 \001(\t\022F\n\006status\030\004 \001(\01626.google.api.serv" + + "icemanagement.v1.Rollout.RolloutStatus\022c" + + "\n\030traffic_percent_strategy\030\005 \001(\0132?.googl" + + "e.api.servicemanagement.v1.Rollout.Traff" + + "icPercentStrategyH\000\022b\n\027delete_service_st" + + "rategy\030\310\001 \001(\0132>.google.api.servicemanage" + + "ment.v1.Rollout.DeleteServiceStrategyH\000\022" + + "\024\n\014service_name\030\010 \001(\t\032\263\001\n\026TrafficPercent" + + "Strategy\022e\n\013percentages\030\001 \003(\0132P.google.a" + + "pi.servicemanagement.v1.Rollout.TrafficP" + + "ercentStrategy.PercentagesEntry\0322\n\020Perce" + + "ntagesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:" + + "\0028\001\032\027\n\025DeleteServiceStrategy\"\215\001\n\rRollout" + + "Status\022\036\n\032ROLLOUT_STATUS_UNSPECIFIED\020\000\022\017" + + "\n\013IN_PROGRESS\020\001\022\013\n\007SUCCESS\020\002\022\r\n\tCANCELLE" + + "D\020\003\022\n\n\006FAILED\020\004\022\013\n\007PENDING\020\005\022\026\n\022FAILED_R" + + "OLLED_BACK\020\006B\n\n\010strategyB\377\001\n#com.google." + + "api.servicemanagement.v1B\016ResourcesProto" + + "P\001ZPgoogle.golang.org/genproto/googleapi" + + "s/api/servicemanagement/v1;servicemanage" + + "ment\242\002\004GASM\252\002!Google.Cloud.ServiceManage" + + "ment.V1\312\002!Google\\Cloud\\ServiceManagement" + + "\\V1\352\002$Google::Cloud::ServiceManagement::" + + "V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ConfigChangeProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_api_servicemanagement_v1_ManagedService_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_api_servicemanagement_v1_ManagedService_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ManagedService_descriptor, + new java.lang.String[] { "ServiceName", "ProducerProjectId", }); + internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_api_servicemanagement_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor, + new java.lang.String[] { "ResourceNames", "Steps", "ProgressPercentage", "StartTime", }); + internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor = + internal_static_google_api_servicemanagement_v1_OperationMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_OperationMetadata_Step_descriptor, + new java.lang.String[] { "Description", "Status", }); + internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_api_servicemanagement_v1_Diagnostic_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_Diagnostic_descriptor, + new java.lang.String[] { "Location", "Kind", "Message", }); + internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_api_servicemanagement_v1_ConfigSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ConfigSource_descriptor, + new java.lang.String[] { "Id", "Files", }); + internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_api_servicemanagement_v1_ConfigFile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ConfigFile_descriptor, + new java.lang.String[] { "FilePath", "FileContents", "FileType", }); + internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_api_servicemanagement_v1_ConfigRef_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ConfigRef_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_api_servicemanagement_v1_ChangeReport_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ChangeReport_descriptor, + new java.lang.String[] { "ConfigChanges", }); + internal_static_google_api_servicemanagement_v1_Rollout_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_api_servicemanagement_v1_Rollout_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_Rollout_descriptor, + new java.lang.String[] { "RolloutId", "CreateTime", "CreatedBy", "Status", "TrafficPercentStrategy", "DeleteServiceStrategy", "ServiceName", "Strategy", }); + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor = + internal_static_google_api_servicemanagement_v1_Rollout_descriptor.getNestedTypes().get(0); + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor, + new java.lang.String[] { "Percentages", }); + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_descriptor = + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor.getNestedTypes().get(0); + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor = + internal_static_google_api_servicemanagement_v1_Rollout_descriptor.getNestedTypes().get(1); + internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ConfigChangeProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Rollout.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Rollout.java similarity index 67% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Rollout.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Rollout.java index 894c479ed587..d86bfc23fccf 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Rollout.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/Rollout.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * A rollout resource that defines how service configuration versions are pushed
  * to control plane systems. Typically, you create a new version of the
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.api.servicemanagement.v1.Rollout}
  */
-public final class Rollout extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Rollout extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.Rollout)
     RolloutOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Rollout.newBuilder() to construct.
   private Rollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Rollout() {
     rolloutId_ = "";
     createdBy_ = "";
@@ -48,43 +30,39 @@ private Rollout() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Rollout();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.api.servicemanagement.v1.ResourcesProto
-        .internal_static_google_api_servicemanagement_v1_Rollout_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.servicemanagement.v1.ResourcesProto
-        .internal_static_google_api_servicemanagement_v1_Rollout_fieldAccessorTable
+    return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.api.servicemanagement.v1.Rollout.class,
-            com.google.api.servicemanagement.v1.Rollout.Builder.class);
+            com.google.api.servicemanagement.v1.Rollout.class, com.google.api.servicemanagement.v1.Rollout.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Status of a Rollout.
    * 
* * Protobuf enum {@code google.api.servicemanagement.v1.Rollout.RolloutStatus} */ - public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutStatus + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No status specified.
      * 
@@ -93,8 +71,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ ROLLOUT_STATUS_UNSPECIFIED(0), /** - * - * *
      * The Rollout is in progress.
      * 
@@ -103,8 +79,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(1), /** - * - * *
      * The Rollout has completed successfully.
      * 
@@ -113,8 +87,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ SUCCESS(2), /** - * - * *
      * The Rollout has been cancelled. This can happen if you have overlapping
      * Rollout pushes, and the previous ones will be cancelled.
@@ -124,8 +96,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum {
      */
     CANCELLED(3),
     /**
-     *
-     *
      * 
      * The Rollout has failed and the rollback attempt has failed too.
      * 
@@ -134,8 +104,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * The Rollout has not started yet and is pending for execution.
      * 
@@ -144,8 +112,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(5), /** - * - * *
      * The Rollout has failed and rolled back to the previous successful
      * Rollout.
@@ -158,8 +124,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No status specified.
      * 
@@ -168,8 +132,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLLOUT_STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The Rollout is in progress.
      * 
@@ -178,8 +140,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 1; /** - * - * *
      * The Rollout has completed successfully.
      * 
@@ -188,8 +148,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCESS_VALUE = 2; /** - * - * *
      * The Rollout has been cancelled. This can happen if you have overlapping
      * Rollout pushes, and the previous ones will be cancelled.
@@ -199,8 +157,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The Rollout has failed and the rollback attempt has failed too.
      * 
@@ -209,8 +165,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * The Rollout has not started yet and is pending for execution.
      * 
@@ -219,8 +173,6 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 5; /** - * - * *
      * The Rollout has failed and rolled back to the previous successful
      * Rollout.
@@ -230,6 +182,7 @@ public enum RolloutStatus implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_ROLLED_BACK_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -254,57 +207,53 @@ public static RolloutStatus valueOf(int value) {
      */
     public static RolloutStatus forNumber(int value) {
       switch (value) {
-        case 0:
-          return ROLLOUT_STATUS_UNSPECIFIED;
-        case 1:
-          return IN_PROGRESS;
-        case 2:
-          return SUCCESS;
-        case 3:
-          return CANCELLED;
-        case 4:
-          return FAILED;
-        case 5:
-          return PENDING;
-        case 6:
-          return FAILED_ROLLED_BACK;
-        default:
-          return null;
+        case 0: return ROLLOUT_STATUS_UNSPECIFIED;
+        case 1: return IN_PROGRESS;
+        case 2: return SUCCESS;
+        case 3: return CANCELLED;
+        case 4: return FAILED;
+        case 5: return PENDING;
+        case 6: return FAILED_ROLLED_BACK;
+        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<
+        RolloutStatus> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RolloutStatus findValueByNumber(int number) {
+              return RolloutStatus.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RolloutStatus findValueByNumber(int number) {
-            return RolloutStatus.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.api.servicemanagement.v1.Rollout.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RolloutStatus[] VALUES = values();
 
-    public static RolloutStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RolloutStatus 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;
@@ -321,14 +270,11 @@ private RolloutStatus(int value) {
     // @@protoc_insertion_point(enum_scope:google.api.servicemanagement.v1.Rollout.RolloutStatus)
   }
 
-  public interface TrafficPercentStrategyOrBuilder
-      extends
+  public interface TrafficPercentStrategyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -339,8 +285,6 @@ public interface TrafficPercentStrategyOrBuilder
      */
     int getPercentagesCount();
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -349,13 +293,15 @@ public interface TrafficPercentStrategyOrBuilder
      *
      * map<string, double> percentages = 1;
      */
-    boolean containsPercentages(java.lang.String key);
-    /** Use {@link #getPercentagesMap()} instead. */
+    boolean containsPercentages(
+        java.lang.String key);
+    /**
+     * Use {@link #getPercentagesMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getPercentages();
+    java.util.Map
+    getPercentages();
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -364,10 +310,9 @@ public interface TrafficPercentStrategyOrBuilder
      *
      * map<string, double> percentages = 1;
      */
-    java.util.Map getPercentagesMap();
+    java.util.Map
+    getPercentagesMap();
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -376,10 +321,11 @@ public interface TrafficPercentStrategyOrBuilder
      *
      * map<string, double> percentages = 1;
      */
-    double getPercentagesOrDefault(java.lang.String key, double defaultValue);
+
+    double getPercentagesOrDefault(
+        java.lang.String key,
+        double defaultValue);
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -388,11 +334,11 @@ public interface TrafficPercentStrategyOrBuilder
      *
      * map<string, double> percentages = 1;
      */
-    double getPercentagesOrThrow(java.lang.String key);
+
+    double getPercentagesOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * Strategy that specifies how clients of Google Service Controller want to
    * send traffic to use different config versions. This is generally
@@ -424,72 +370,71 @@ public interface TrafficPercentStrategyOrBuilder
    *
    * Protobuf type {@code google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy}
    */
-  public static final class TrafficPercentStrategy extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TrafficPercentStrategy extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy)
       TrafficPercentStrategyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TrafficPercentStrategy.newBuilder() to construct.
     private TrafficPercentStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private TrafficPercentStrategy() {}
+    private TrafficPercentStrategy() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TrafficPercentStrategy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
     @java.lang.Override
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetPercentages();
         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.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_fieldAccessorTable
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.class,
-              com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder.class);
+              com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.class, com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder.class);
     }
 
     public static final int PERCENTAGES_FIELD_NUMBER = 1;
-
     private static final class PercentagesDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry defaultEntry =
-          com.google.protobuf.MapEntry.newDefaultInstance(
-              com.google.api.servicemanagement.v1.ResourcesProto
-                  .internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_descriptor,
-              com.google.protobuf.WireFormat.FieldType.STRING,
-              "",
-              com.google.protobuf.WireFormat.FieldType.DOUBLE,
-              0D);
-    }
-
-    private com.google.protobuf.MapField percentages_;
-
+      static final com.google.protobuf.MapEntry<
+          java.lang.String, java.lang.Double> defaultEntry =
+              com.google.protobuf.MapEntry
+              .newDefaultInstance(
+                  com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_PercentagesEntry_descriptor, 
+                  com.google.protobuf.WireFormat.FieldType.STRING,
+                  "",
+                  com.google.protobuf.WireFormat.FieldType.DOUBLE,
+                  0D);
+    }
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.Double> percentages_;
     private com.google.protobuf.MapField
-        internalGetPercentages() {
+    internalGetPercentages() {
       if (percentages_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             PercentagesDefaultEntryHolder.defaultEntry);
@@ -501,8 +446,6 @@ public int getPercentagesCount() {
       return internalGetPercentages().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -511,22 +454,22 @@ public int getPercentagesCount() {
      *
      * map<string, double> percentages = 1;
      */
+
     @java.lang.Override
-    public boolean containsPercentages(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsPercentages(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetPercentages().getMap().containsKey(key);
     }
-    /** Use {@link #getPercentagesMap()} instead. */
+    /**
+     * Use {@link #getPercentagesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getPercentages() {
       return getPercentagesMap();
     }
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -536,12 +479,11 @@ public java.util.Map getPercentages() {
      * map<string, double> percentages = 1;
      */
     @java.lang.Override
+
     public java.util.Map getPercentagesMap() {
       return internalGetPercentages().getMap();
     }
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -551,16 +493,16 @@ public java.util.Map getPercentagesMap() {
      * map<string, double> percentages = 1;
      */
     @java.lang.Override
-    public double getPercentagesOrDefault(java.lang.String key, double defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetPercentages().getMap();
+
+    public double getPercentagesOrDefault(
+        java.lang.String key,
+        double defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetPercentages().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Maps service configuration IDs to their corresponding traffic percentage.
      * Key is the service configuration ID, Value is the traffic percentage
@@ -570,11 +512,12 @@ public double getPercentagesOrDefault(java.lang.String key, double defaultValue)
      * map<string, double> percentages = 1;
      */
     @java.lang.Override
-    public double getPercentagesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetPercentages().getMap();
+
+    public double getPercentagesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetPercentages().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -582,7 +525,6 @@ public double getPercentagesOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -594,9 +536,14 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetPercentages(), PercentagesDefaultEntryHolder.defaultEntry, 1);
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetPercentages(),
+          PercentagesDefaultEntryHolder.defaultEntry,
+          1);
       getUnknownFields().writeTo(output);
     }
 
@@ -606,15 +553,15 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      for (java.util.Map.Entry entry :
-          internalGetPercentages().getMap().entrySet()) {
-        com.google.protobuf.MapEntry percentages__ =
-            PercentagesDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, percentages__);
+      for (java.util.Map.Entry entry
+           : internalGetPercentages().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        percentages__ = PercentagesDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(1, percentages__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -624,15 +571,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.api.servicemanagement.v1.Rollout.TrafficPercentStrategy)) {
         return super.equals(obj);
       }
-      com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy other =
-          (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) obj;
+      com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy other = (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) obj;
 
-      if (!internalGetPercentages().equals(other.internalGetPercentages())) return false;
+      if (!internalGetPercentages().equals(
+          other.internalGetPercentages())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -654,95 +601,87 @@ public int hashCode() {
     }
 
     public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy prototype) {
+    public static Builder newBuilder(com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -752,8 +691,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Strategy that specifies how clients of Google Service Controller want to
      * send traffic to use different config versions. This is generally
@@ -785,54 +722,55 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy)
         com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.api.servicemanagement.v1.ResourcesProto
-            .internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetPercentages();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMutableMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetMutablePercentages();
           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.api.servicemanagement.v1.ResourcesProto
-            .internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_fieldAccessorTable
+        return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.class,
-                com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder.class);
+                com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.class, com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder.class);
       }
 
-      // Construct using
-      // com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.newBuilder()
-      private Builder() {}
+      // Construct using com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.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();
@@ -841,16 +779,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.api.servicemanagement.v1.ResourcesProto
-            .internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_TrafficPercentStrategy_descriptor;
       }
 
       @java.lang.Override
-      public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy
-          getDefaultInstanceForType() {
-        return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy
-            .getDefaultInstance();
+      public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy getDefaultInstanceForType() {
+        return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -864,8 +800,7 @@ public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy build(
 
       @java.lang.Override
       public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy buildPartial() {
-        com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy result =
-            new com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy(this);
+        com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy result = new com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy(this);
         int from_bitField0_ = bitField0_;
         result.percentages_ = internalGetPercentages();
         result.percentages_.makeImmutable();
@@ -877,54 +812,48 @@ public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy buildP
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) {
-          return mergeFrom(
-              (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) other);
+          return mergeFrom((com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy other) {
-        if (other
-            == com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy
-                .getDefaultInstance()) return this;
-        internalGetMutablePercentages().mergeFrom(other.internalGetPercentages());
+      public Builder mergeFrom(com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy other) {
+        if (other == com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance()) return this;
+        internalGetMutablePercentages().mergeFrom(
+            other.internalGetPercentages());
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -951,24 +880,20 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.protobuf.MapEntry percentages__ =
-                      input.readMessage(
-                          PercentagesDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-                  internalGetMutablePercentages()
-                      .getMutableMap()
-                      .put(percentages__.getKey(), percentages__.getValue());
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                com.google.protobuf.MapEntry
+                percentages__ = input.readMessage(
+                    PercentagesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                internalGetMutablePercentages().getMutableMap().put(
+                    percentages__.getKey(), percentages__.getValue());
+                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) {
@@ -978,27 +903,24 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.MapField percentages_;
-
+      private com.google.protobuf.MapField<
+          java.lang.String, java.lang.Double> percentages_;
       private com.google.protobuf.MapField
-          internalGetPercentages() {
+      internalGetPercentages() {
         if (percentages_ == null) {
           return com.google.protobuf.MapField.emptyMapField(
               PercentagesDefaultEntryHolder.defaultEntry);
         }
         return percentages_;
       }
-
       private com.google.protobuf.MapField
-          internalGetMutablePercentages() {
-        onChanged();
-        ;
+      internalGetMutablePercentages() {
+        onChanged();;
         if (percentages_ == null) {
-          percentages_ =
-              com.google.protobuf.MapField.newMapField(PercentagesDefaultEntryHolder.defaultEntry);
+          percentages_ = com.google.protobuf.MapField.newMapField(
+              PercentagesDefaultEntryHolder.defaultEntry);
         }
         if (!percentages_.isMutable()) {
           percentages_ = percentages_.copy();
@@ -1010,8 +932,6 @@ public int getPercentagesCount() {
         return internalGetPercentages().getMap().size();
       }
       /**
-       *
-       *
        * 
        * Maps service configuration IDs to their corresponding traffic percentage.
        * Key is the service configuration ID, Value is the traffic percentage
@@ -1020,22 +940,22 @@ public int getPercentagesCount() {
        *
        * map<string, double> percentages = 1;
        */
+
       @java.lang.Override
-      public boolean containsPercentages(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsPercentages(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetPercentages().getMap().containsKey(key);
       }
-      /** Use {@link #getPercentagesMap()} instead. */
+      /**
+       * Use {@link #getPercentagesMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getPercentages() {
         return getPercentagesMap();
       }
       /**
-       *
-       *
        * 
        * Maps service configuration IDs to their corresponding traffic percentage.
        * Key is the service configuration ID, Value is the traffic percentage
@@ -1045,12 +965,11 @@ public java.util.Map getPercentages() {
        * map<string, double> percentages = 1;
        */
       @java.lang.Override
+
       public java.util.Map getPercentagesMap() {
         return internalGetPercentages().getMap();
       }
       /**
-       *
-       *
        * 
        * Maps service configuration IDs to their corresponding traffic percentage.
        * Key is the service configuration ID, Value is the traffic percentage
@@ -1060,16 +979,16 @@ public java.util.Map getPercentagesMap() {
        * map<string, double> percentages = 1;
        */
       @java.lang.Override
-      public double getPercentagesOrDefault(java.lang.String key, double defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetPercentages().getMap();
+
+      public double getPercentagesOrDefault(
+          java.lang.String key,
+          double defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetPercentages().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Maps service configuration IDs to their corresponding traffic percentage.
        * Key is the service configuration ID, Value is the traffic percentage
@@ -1079,11 +998,12 @@ public double getPercentagesOrDefault(java.lang.String key, double defaultValue)
        * map<string, double> percentages = 1;
        */
       @java.lang.Override
-      public double getPercentagesOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetPercentages().getMap();
+
+      public double getPercentagesOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetPercentages().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -1091,12 +1011,11 @@ public double getPercentagesOrThrow(java.lang.String key) {
       }
 
       public Builder clearPercentages() {
-        internalGetMutablePercentages().getMutableMap().clear();
+        internalGetMutablePercentages().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * Maps service configuration IDs to their corresponding traffic percentage.
        * Key is the service configuration ID, Value is the traffic percentage
@@ -1105,21 +1024,23 @@ public Builder clearPercentages() {
        *
        * map<string, double> percentages = 1;
        */
-      public Builder removePercentages(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutablePercentages().getMutableMap().remove(key);
+
+      public Builder removePercentages(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutablePercentages().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutablePercentages() {
+      public java.util.Map
+      getMutablePercentages() {
         return internalGetMutablePercentages().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * Maps service configuration IDs to their corresponding traffic percentage.
        * Key is the service configuration ID, Value is the traffic percentage
@@ -1128,17 +1049,16 @@ public java.util.Map getMutablePercentages()
        *
        * map<string, double> percentages = 1;
        */
-      public Builder putPercentages(java.lang.String key, double value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-
-        internalGetMutablePercentages().getMutableMap().put(key, value);
+      public Builder putPercentages(
+          java.lang.String key,
+          double value) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        
+        internalGetMutablePercentages().getMutableMap()
+            .put(key, value);
         return this;
       }
       /**
-       *
-       *
        * 
        * Maps service configuration IDs to their corresponding traffic percentage.
        * Key is the service configuration ID, Value is the traffic percentage
@@ -1147,11 +1067,13 @@ public Builder putPercentages(java.lang.String key, double value) {
        *
        * map<string, double> percentages = 1;
        */
-      public Builder putAllPercentages(java.util.Map values) {
-        internalGetMutablePercentages().getMutableMap().putAll(values);
+
+      public Builder putAllPercentages(
+          java.util.Map values) {
+        internalGetMutablePercentages().getMutableMap()
+            .putAll(values);
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1164,44 +1086,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy)
     }
 
     // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy)
-    private static final com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy
-        DEFAULT_INSTANCE;
-
+    private static final com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy();
     }
 
-    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy
-        getDefaultInstance() {
+    public static com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public TrafficPercentStrategy 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 TrafficPercentStrategy 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;
@@ -1213,19 +1132,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy
-        getDefaultInstanceForType() {
+    public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DeleteServiceStrategyOrBuilder
-      extends
+  public interface DeleteServiceStrategyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy)
-      com.google.protobuf.MessageOrBuilder {}
+      com.google.protobuf.MessageOrBuilder {
+  }
   /**
-   *
-   *
    * 
    * Strategy used to delete a service. This strategy is a placeholder only
    * used by the system generated rollout to delete a service.
@@ -1233,46 +1150,44 @@ public interface DeleteServiceStrategyOrBuilder
    *
    * Protobuf type {@code google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy}
    */
-  public static final class DeleteServiceStrategy extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DeleteServiceStrategy extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy)
       DeleteServiceStrategyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DeleteServiceStrategy.newBuilder() to construct.
     private DeleteServiceStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private DeleteServiceStrategy() {}
+    private DeleteServiceStrategy() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DeleteServiceStrategy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_fieldAccessorTable
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.class,
-              com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder.class);
+              com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.class, com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1284,7 +1199,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);
     }
 
@@ -1302,13 +1218,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.api.servicemanagement.v1.Rollout.DeleteServiceStrategy)) {
         return super.equals(obj);
       }
-      com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy other =
-          (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) obj;
+      com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy other = (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) obj;
 
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1327,95 +1242,87 @@ public int hashCode() {
     }
 
     public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy prototype) {
+    public static Builder newBuilder(com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1425,8 +1332,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Strategy used to delete a service. This strategy is a placeholder only
      * used by the system generated rollout to delete a service.
@@ -1434,34 +1339,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy)
         com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.api.servicemanagement.v1.ResourcesProto
-            .internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.servicemanagement.v1.ResourcesProto
-            .internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_fieldAccessorTable
+        return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.class,
-                com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder.class);
+                com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.class, com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder.class);
       }
 
-      // Construct using
-      // com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.newBuilder()
-      private Builder() {}
+      // Construct using com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.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();
@@ -1469,16 +1373,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.api.servicemanagement.v1.ResourcesProto
-            .internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_DeleteServiceStrategy_descriptor;
       }
 
       @java.lang.Override
-      public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy
-          getDefaultInstanceForType() {
-        return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy
-            .getDefaultInstance();
+      public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy getDefaultInstanceForType() {
+        return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1492,8 +1394,7 @@ public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy build()
 
       @java.lang.Override
       public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy buildPartial() {
-        com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy result =
-            new com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy(this);
+        com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy result = new com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy(this);
         onBuilt();
         return result;
       }
@@ -1502,53 +1403,46 @@ public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy buildPa
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) {
-          return mergeFrom(
-              (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) other);
+          return mergeFrom((com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy other) {
-        if (other
-            == com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy other) {
+        if (other == com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance()) return this;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -1575,13 +1469,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) {
@@ -1591,7 +1484,6 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1604,44 +1496,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy)
     }
 
     // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy)
-    private static final com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy
-        DEFAULT_INSTANCE;
-
+    private static final com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy();
     }
 
-    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy
-        getDefaultInstance() {
+    public static com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DeleteServiceStrategy 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 DeleteServiceStrategy 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;
@@ -1653,24 +1542,21 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy
-        getDefaultInstanceForType() {
+    public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int strategyCase_ = 0;
   private java.lang.Object strategy_;
-
   public enum StrategyCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRAFFIC_PERCENT_STRATEGY(5),
     DELETE_SERVICE_STRATEGY(200),
     STRATEGY_NOT_SET(0);
     private final int value;
-
     private StrategyCase(int value) {
       this.value = value;
     }
@@ -1686,31 +1572,26 @@ public static StrategyCase valueOf(int value) {
 
     public static StrategyCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return TRAFFIC_PERCENT_STRATEGY;
-        case 200:
-          return DELETE_SERVICE_STRATEGY;
-        case 0:
-          return STRATEGY_NOT_SET;
-        default:
-          return null;
+        case 5: return TRAFFIC_PERCENT_STRATEGY;
+        case 200: return DELETE_SERVICE_STRATEGY;
+        case 0: return STRATEGY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StrategyCase getStrategyCase() {
-    return StrategyCase.forNumber(strategyCase_);
+  public StrategyCase
+  getStrategyCase() {
+    return StrategyCase.forNumber(
+        strategyCase_);
   }
 
   public static final int ROLLOUT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object rolloutId_;
   /**
-   *
-   *
    * 
    * Optional. Unique identifier of this Rollout. Must be no longer than 63
    * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -1723,7 +1604,6 @@ public StrategyCase getStrategyCase() {
    * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rolloutId. */ @java.lang.Override @@ -1732,15 +1612,14 @@ public java.lang.String getRolloutId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rolloutId_ = s; return s; } } /** - * - * *
    * Optional. Unique identifier of this Rollout. Must be no longer than 63
    * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -1753,15 +1632,16 @@ public java.lang.String getRolloutId() {
    * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rolloutId. */ @java.lang.Override - public com.google.protobuf.ByteString getRolloutIdBytes() { + public com.google.protobuf.ByteString + getRolloutIdBytes() { java.lang.Object ref = rolloutId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rolloutId_ = b; return b; } else { @@ -1772,14 +1652,11 @@ public com.google.protobuf.ByteString getRolloutIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Creation time of the rollout. Readonly.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1787,14 +1664,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Creation time of the rollout. Readonly.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -1802,8 +1676,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Creation time of the rollout. Readonly.
    * 
@@ -1818,14 +1690,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int CREATED_BY_FIELD_NUMBER = 3; private volatile java.lang.Object createdBy_; /** - * - * *
    * The user who created the Rollout. Readonly.
    * 
* * string created_by = 3; - * * @return The createdBy. */ @java.lang.Override @@ -1834,29 +1703,29 @@ public java.lang.String getCreatedBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createdBy_ = s; return s; } } /** - * - * *
    * The user who created the Rollout. Readonly.
    * 
* * string created_by = 3; - * * @return The bytes for createdBy. */ @java.lang.Override - public com.google.protobuf.ByteString getCreatedByBytes() { + public com.google.protobuf.ByteString + getCreatedByBytes() { java.lang.Object ref = createdBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createdBy_ = b; return b; } else { @@ -1867,8 +1736,6 @@ public com.google.protobuf.ByteString getCreatedByBytes() { public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** - * - * *
    * The status of this rollout. Readonly. In case of a failed rollout,
    * the system will automatically rollback to the current Rollout
@@ -1876,16 +1743,12 @@ public com.google.protobuf.ByteString getCreatedByBytes() {
    * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * The status of this rollout. Readonly. In case of a failed rollout,
    * the system will automatically rollback to the current Rollout
@@ -1893,32 +1756,22 @@ public int getStatusValue() {
    * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @return The status. */ - @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.RolloutStatus getStatus() { + @java.lang.Override public com.google.api.servicemanagement.v1.Rollout.RolloutStatus getStatus() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.Rollout.RolloutStatus result = - com.google.api.servicemanagement.v1.Rollout.RolloutStatus.valueOf(status_); - return result == null - ? com.google.api.servicemanagement.v1.Rollout.RolloutStatus.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.Rollout.RolloutStatus result = com.google.api.servicemanagement.v1.Rollout.RolloutStatus.valueOf(status_); + return result == null ? com.google.api.servicemanagement.v1.Rollout.RolloutStatus.UNRECOGNIZED : result; } public static final int TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER = 5; /** - * - * *
    * Google Service Control selects service configurations based on
    * traffic percentage.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; * @return Whether the trafficPercentStrategy field is set. */ @java.lang.Override @@ -1926,61 +1779,45 @@ public boolean hasTrafficPercentStrategy() { return strategyCase_ == 5; } /** - * - * *
    * Google Service Control selects service configurations based on
    * traffic percentage.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; * @return The trafficPercentStrategy. */ @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy - getTrafficPercentStrategy() { + public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy getTrafficPercentStrategy() { if (strategyCase_ == 5) { - return (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_; + return (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_; } return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance(); } /** - * - * *
    * Google Service Control selects service configurations based on
    * traffic percentage.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder - getTrafficPercentStrategyOrBuilder() { + public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder getTrafficPercentStrategyOrBuilder() { if (strategyCase_ == 5) { - return (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_; + return (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_; } return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance(); } public static final int DELETE_SERVICE_STRATEGY_FIELD_NUMBER = 200; /** - * - * *
    * The strategy associated with a rollout to delete a `ManagedService`.
    * Readonly.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; * @return Whether the deleteServiceStrategy field is set. */ @java.lang.Override @@ -1988,44 +1825,33 @@ public boolean hasDeleteServiceStrategy() { return strategyCase_ == 200; } /** - * - * *
    * The strategy associated with a rollout to delete a `ManagedService`.
    * Readonly.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; * @return The deleteServiceStrategy. */ @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy - getDeleteServiceStrategy() { + public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy getDeleteServiceStrategy() { if (strategyCase_ == 200) { - return (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_; + return (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_; } return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance(); } /** - * - * *
    * The strategy associated with a rollout to delete a `ManagedService`.
    * Readonly.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder - getDeleteServiceStrategyOrBuilder() { + public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder getDeleteServiceStrategyOrBuilder() { if (strategyCase_ == 200) { - return (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_; + return (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_; } return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance(); } @@ -2033,14 +1859,11 @@ public boolean hasDeleteServiceStrategy() { public static final int SERVICE_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object serviceName_; /** - * - * *
    * The name of the service associated with this Rollout.
    * 
* * string service_name = 8; - * * @return The serviceName. */ @java.lang.Override @@ -2049,29 +1872,29 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * The name of the service associated with this Rollout.
    * 
* * string service_name = 8; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -2080,7 +1903,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2092,7 +1914,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(rolloutId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rolloutId_); } @@ -2102,21 +1925,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createdBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, createdBy_); } - if (status_ - != com.google.api.servicemanagement.v1.Rollout.RolloutStatus.ROLLOUT_STATUS_UNSPECIFIED - .getNumber()) { + if (status_ != com.google.api.servicemanagement.v1.Rollout.RolloutStatus.ROLLOUT_STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, status_); } if (strategyCase_ == 5) { - output.writeMessage( - 5, (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_); + output.writeMessage(5, (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, serviceName_); } if (strategyCase_ == 200) { - output.writeMessage( - 200, (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_); + output.writeMessage(200, (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_); } getUnknownFields().writeTo(output); } @@ -2131,28 +1950,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rolloutId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createdBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, createdBy_); } - if (status_ - != com.google.api.servicemanagement.v1.Rollout.RolloutStatus.ROLLOUT_STATUS_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, status_); + if (status_ != com.google.api.servicemanagement.v1.Rollout.RolloutStatus.ROLLOUT_STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, status_); } if (strategyCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serviceName_); } if (strategyCase_ == 200) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 200, (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2162,29 +1979,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.api.servicemanagement.v1.Rollout)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.Rollout other = - (com.google.api.servicemanagement.v1.Rollout) obj; + com.google.api.servicemanagement.v1.Rollout other = (com.google.api.servicemanagement.v1.Rollout) obj; - if (!getRolloutId().equals(other.getRolloutId())) return false; + if (!getRolloutId() + .equals(other.getRolloutId())) 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 (!getCreatedBy().equals(other.getCreatedBy())) return false; + if (!getCreatedBy() + .equals(other.getCreatedBy())) return false; if (status_ != other.status_) return false; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (!getStrategyCase().equals(other.getStrategyCase())) return false; switch (strategyCase_) { case 5: - if (!getTrafficPercentStrategy().equals(other.getTrafficPercentStrategy())) return false; + if (!getTrafficPercentStrategy() + .equals(other.getTrafficPercentStrategy())) return false; break; case 200: - if (!getDeleteServiceStrategy().equals(other.getDeleteServiceStrategy())) return false; + if (!getDeleteServiceStrategy() + .equals(other.getDeleteServiceStrategy())) return false; break; case 0: default: @@ -2229,104 +2051,97 @@ public int hashCode() { return hash; } - public static com.google.api.servicemanagement.v1.Rollout parseFrom(java.nio.ByteBuffer data) + public static com.google.api.servicemanagement.v1.Rollout parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.Rollout parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.Rollout parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.Rollout parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.Rollout parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.Rollout 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.api.servicemanagement.v1.Rollout parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.Rollout parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.Rollout parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.Rollout parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.Rollout parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.Rollout parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.servicemanagement.v1.Rollout prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A rollout resource that defines how service configuration versions are pushed
    * to control plane systems. Typically, you create a new version of the
@@ -2335,32 +2150,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.api.servicemanagement.v1.Rollout}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.Rollout)
       com.google.api.servicemanagement.v1.RolloutOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_Rollout_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_Rollout_fieldAccessorTable
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.servicemanagement.v1.Rollout.class,
-              com.google.api.servicemanagement.v1.Rollout.Builder.class);
+              com.google.api.servicemanagement.v1.Rollout.class, com.google.api.servicemanagement.v1.Rollout.Builder.class);
     }
 
     // Construct using com.google.api.servicemanagement.v1.Rollout.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();
@@ -2390,9 +2206,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.api.servicemanagement.v1.ResourcesProto
-          .internal_static_google_api_servicemanagement_v1_Rollout_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.api.servicemanagement.v1.ResourcesProto.internal_static_google_api_servicemanagement_v1_Rollout_descriptor;
     }
 
     @java.lang.Override
@@ -2411,8 +2227,7 @@ public com.google.api.servicemanagement.v1.Rollout build() {
 
     @java.lang.Override
     public com.google.api.servicemanagement.v1.Rollout buildPartial() {
-      com.google.api.servicemanagement.v1.Rollout result =
-          new com.google.api.servicemanagement.v1.Rollout(this);
+      com.google.api.servicemanagement.v1.Rollout result = new com.google.api.servicemanagement.v1.Rollout(this);
       result.rolloutId_ = rolloutId_;
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
@@ -2445,39 +2260,38 @@ public com.google.api.servicemanagement.v1.Rollout buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        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.api.servicemanagement.v1.Rollout) {
-        return mergeFrom((com.google.api.servicemanagement.v1.Rollout) other);
+        return mergeFrom((com.google.api.servicemanagement.v1.Rollout)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2505,20 +2319,17 @@ public Builder mergeFrom(com.google.api.servicemanagement.v1.Rollout other) {
         onChanged();
       }
       switch (other.getStrategyCase()) {
-        case TRAFFIC_PERCENT_STRATEGY:
-          {
-            mergeTrafficPercentStrategy(other.getTrafficPercentStrategy());
-            break;
-          }
-        case DELETE_SERVICE_STRATEGY:
-          {
-            mergeDeleteServiceStrategy(other.getDeleteServiceStrategy());
-            break;
-          }
-        case STRATEGY_NOT_SET:
-          {
-            break;
-          }
+        case TRAFFIC_PERCENT_STRATEGY: {
+          mergeTrafficPercentStrategy(other.getTrafficPercentStrategy());
+          break;
+        }
+        case DELETE_SERVICE_STRATEGY: {
+          mergeDeleteServiceStrategy(other.getDeleteServiceStrategy());
+          break;
+        }
+        case STRATEGY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2546,57 +2357,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                rolloutId_ = input.readStringRequireUtf8();
+            case 10: {
+              rolloutId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                createdBy_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              createdBy_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                status_ = input.readEnum();
+              break;
+            } // case 26
+            case 32: {
+              status_ = input.readEnum();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(
-                    getTrafficPercentStrategyFieldBuilder().getBuilder(), extensionRegistry);
-                strategyCase_ = 5;
-                break;
-              } // case 42
-            case 66:
-              {
-                serviceName_ = input.readStringRequireUtf8();
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getTrafficPercentStrategyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              strategyCase_ = 5;
+              break;
+            } // case 42
+            case 66: {
+              serviceName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 66
-            case 1602:
-              {
-                input.readMessage(
-                    getDeleteServiceStrategyFieldBuilder().getBuilder(), extensionRegistry);
-                strategyCase_ = 200;
-                break;
-              } // case 1602
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 66
+            case 1602: {
+              input.readMessage(
+                  getDeleteServiceStrategyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              strategyCase_ = 200;
+              break;
+            } // case 1602
+            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) {
@@ -2606,12 +2413,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int strategyCase_ = 0;
     private java.lang.Object strategy_;
-
-    public StrategyCase getStrategyCase() {
-      return StrategyCase.forNumber(strategyCase_);
+    public StrategyCase
+        getStrategyCase() {
+      return StrategyCase.forNumber(
+          strategyCase_);
     }
 
     public Builder clearStrategy() {
@@ -2621,10 +2428,9 @@ public Builder clearStrategy() {
       return this;
     }
 
+
     private java.lang.Object rolloutId_ = "";
     /**
-     *
-     *
      * 
      * Optional. Unique identifier of this Rollout. Must be no longer than 63
      * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -2637,13 +2443,13 @@ public Builder clearStrategy() {
      * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rolloutId. */ public java.lang.String getRolloutId() { java.lang.Object ref = rolloutId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rolloutId_ = s; return s; @@ -2652,8 +2458,6 @@ public java.lang.String getRolloutId() { } } /** - * - * *
      * Optional. Unique identifier of this Rollout. Must be no longer than 63
      * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -2666,14 +2470,15 @@ public java.lang.String getRolloutId() {
      * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rolloutId. */ - public com.google.protobuf.ByteString getRolloutIdBytes() { + public com.google.protobuf.ByteString + getRolloutIdBytes() { java.lang.Object ref = rolloutId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rolloutId_ = b; return b; } else { @@ -2681,8 +2486,6 @@ public com.google.protobuf.ByteString getRolloutIdBytes() { } } /** - * - * *
      * Optional. Unique identifier of this Rollout. Must be no longer than 63
      * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -2695,22 +2498,20 @@ public com.google.protobuf.ByteString getRolloutIdBytes() {
      * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutId(java.lang.String value) { + public Builder setRolloutId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rolloutId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Unique identifier of this Rollout. Must be no longer than 63
      * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -2723,18 +2524,15 @@ public Builder setRolloutId(java.lang.String value) {
      * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRolloutId() { - + rolloutId_ = getDefaultInstance().getRolloutId(); onChanged(); return this; } /** - * - * *
      * Optional. Unique identifier of this Rollout. Must be no longer than 63
      * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -2747,16 +2545,16 @@ public Builder clearRolloutId() {
      * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutIdBytes(com.google.protobuf.ByteString value) { + public Builder setRolloutIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rolloutId_ = value; onChanged(); return this; @@ -2764,47 +2562,34 @@ public Builder setRolloutIdBytes(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_; /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @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(); } } /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
@@ -2825,15 +2610,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
* * .google.protobuf.Timestamp create_time = 2; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2844,8 +2628,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
@@ -2856,7 +2638,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2868,8 +2650,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
@@ -2888,8 +2668,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
@@ -2897,13 +2675,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
@@ -2914,14 +2690,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Creation time of the rollout. Readonly.
      * 
@@ -2929,17 +2702,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -2947,20 +2717,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private java.lang.Object createdBy_ = ""; /** - * - * *
      * The user who created the Rollout. Readonly.
      * 
* * string created_by = 3; - * * @return The createdBy. */ public java.lang.String getCreatedBy() { java.lang.Object ref = createdBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createdBy_ = s; return s; @@ -2969,21 +2737,20 @@ public java.lang.String getCreatedBy() { } } /** - * - * *
      * The user who created the Rollout. Readonly.
      * 
* * string created_by = 3; - * * @return The bytes for createdBy. */ - public com.google.protobuf.ByteString getCreatedByBytes() { + public com.google.protobuf.ByteString + getCreatedByBytes() { java.lang.Object ref = createdBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createdBy_ = b; return b; } else { @@ -2991,61 +2758,54 @@ public com.google.protobuf.ByteString getCreatedByBytes() { } } /** - * - * *
      * The user who created the Rollout. Readonly.
      * 
* * string created_by = 3; - * * @param value The createdBy to set. * @return This builder for chaining. */ - public Builder setCreatedBy(java.lang.String value) { + public Builder setCreatedBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createdBy_ = value; onChanged(); return this; } /** - * - * *
      * The user who created the Rollout. Readonly.
      * 
* * string created_by = 3; - * * @return This builder for chaining. */ public Builder clearCreatedBy() { - + createdBy_ = getDefaultInstance().getCreatedBy(); onChanged(); return this; } /** - * - * *
      * The user who created the Rollout. Readonly.
      * 
* * string created_by = 3; - * * @param value The bytes for createdBy to set. * @return This builder for chaining. */ - public Builder setCreatedByBytes(com.google.protobuf.ByteString value) { + public Builder setCreatedByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createdBy_ = value; onChanged(); return this; @@ -3053,8 +2813,6 @@ public Builder setCreatedByBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * The status of this rollout. Readonly. In case of a failed rollout,
      * the system will automatically rollback to the current Rollout
@@ -3062,16 +2820,12 @@ public Builder setCreatedByBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * The status of this rollout. Readonly. In case of a failed rollout,
      * the system will automatically rollback to the current Rollout
@@ -3079,19 +2833,16 @@ public int getStatusValue() {
      * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * The status of this rollout. Readonly. In case of a failed rollout,
      * the system will automatically rollback to the current Rollout
@@ -3099,21 +2850,15 @@ public Builder setStatusValue(int value) {
      * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @return The status. */ @java.lang.Override public com.google.api.servicemanagement.v1.Rollout.RolloutStatus getStatus() { @SuppressWarnings("deprecation") - com.google.api.servicemanagement.v1.Rollout.RolloutStatus result = - com.google.api.servicemanagement.v1.Rollout.RolloutStatus.valueOf(status_); - return result == null - ? com.google.api.servicemanagement.v1.Rollout.RolloutStatus.UNRECOGNIZED - : result; + com.google.api.servicemanagement.v1.Rollout.RolloutStatus result = com.google.api.servicemanagement.v1.Rollout.RolloutStatus.valueOf(status_); + return result == null ? com.google.api.servicemanagement.v1.Rollout.RolloutStatus.UNRECOGNIZED : result; } /** - * - * *
      * The status of this rollout. Readonly. In case of a failed rollout,
      * the system will automatically rollback to the current Rollout
@@ -3121,7 +2866,6 @@ public com.google.api.servicemanagement.v1.Rollout.RolloutStatus getStatus() {
      * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @param value The status to set. * @return This builder for chaining. */ @@ -3129,14 +2873,12 @@ public Builder setStatus(com.google.api.servicemanagement.v1.Rollout.RolloutStat if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The status of this rollout. Readonly. In case of a failed rollout,
      * the system will automatically rollback to the current Rollout
@@ -3144,33 +2886,24 @@ public Builder setStatus(com.google.api.servicemanagement.v1.Rollout.RolloutStat
      * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy, - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder, - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder> - trafficPercentStrategyBuilder_; + com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy, com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder, com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder> trafficPercentStrategyBuilder_; /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; * @return Whether the trafficPercentStrategy field is set. */ @java.lang.Override @@ -3178,50 +2911,37 @@ public boolean hasTrafficPercentStrategy() { return strategyCase_ == 5; } /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; * @return The trafficPercentStrategy. */ @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy - getTrafficPercentStrategy() { + public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy getTrafficPercentStrategy() { if (trafficPercentStrategyBuilder_ == null) { if (strategyCase_ == 5) { return (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_; } - return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy - .getDefaultInstance(); + return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance(); } else { if (strategyCase_ == 5) { return trafficPercentStrategyBuilder_.getMessage(); } - return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy - .getDefaultInstance(); + return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance(); } } /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ - public Builder setTrafficPercentStrategy( - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy value) { + public Builder setTrafficPercentStrategy(com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy value) { if (trafficPercentStrategyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3235,20 +2955,15 @@ public Builder setTrafficPercentStrategy( return this; } /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ public Builder setTrafficPercentStrategy( - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder - builderForValue) { + com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder builderForValue) { if (trafficPercentStrategyBuilder_ == null) { strategy_ = builderForValue.build(); onChanged(); @@ -3259,30 +2974,19 @@ public Builder setTrafficPercentStrategy( return this; } /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ - public Builder mergeTrafficPercentStrategy( - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy value) { + public Builder mergeTrafficPercentStrategy(com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy value) { if (trafficPercentStrategyBuilder_ == null) { - if (strategyCase_ == 5 - && strategy_ - != com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy - .getDefaultInstance()) { - strategy_ = - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.newBuilder( - (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) - strategy_) - .mergeFrom(value) - .buildPartial(); + if (strategyCase_ == 5 && + strategy_ != com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance()) { + strategy_ = com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.newBuilder((com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_) + .mergeFrom(value).buildPartial(); } else { strategy_ = value; } @@ -3298,16 +3002,12 @@ public Builder mergeTrafficPercentStrategy( return this; } /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ public Builder clearTrafficPercentStrategy() { if (trafficPercentStrategyBuilder_ == null) { @@ -3326,102 +3026,71 @@ public Builder clearTrafficPercentStrategy() { return this; } /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ - public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder - getTrafficPercentStrategyBuilder() { + public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder getTrafficPercentStrategyBuilder() { return getTrafficPercentStrategyFieldBuilder().getBuilder(); } /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder - getTrafficPercentStrategyOrBuilder() { + public com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder getTrafficPercentStrategyOrBuilder() { if ((strategyCase_ == 5) && (trafficPercentStrategyBuilder_ != null)) { return trafficPercentStrategyBuilder_.getMessageOrBuilder(); } else { if (strategyCase_ == 5) { return (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_; } - return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy - .getDefaultInstance(); + return com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance(); } } /** - * - * *
      * Google Service Control selects service configurations based on
      * traffic percentage.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy, - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder, - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder> + com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy, com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder, com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder> getTrafficPercentStrategyFieldBuilder() { if (trafficPercentStrategyBuilder_ == null) { if (!(strategyCase_ == 5)) { - strategy_ = - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy - .getDefaultInstance(); + strategy_ = com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.getDefaultInstance(); } - trafficPercentStrategyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy, - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder, - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder>( + trafficPercentStrategyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy, com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.Builder, com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder>( (com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy) strategy_, getParentForChildren(), isClean()); strategy_ = null; } strategyCase_ = 5; - onChanged(); - ; + onChanged();; return trafficPercentStrategyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy, - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder, - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder> - deleteServiceStrategyBuilder_; + com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy, com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder, com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder> deleteServiceStrategyBuilder_; /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; * @return Whether the deleteServiceStrategy field is set. */ @java.lang.Override @@ -3429,50 +3098,37 @@ public boolean hasDeleteServiceStrategy() { return strategyCase_ == 200; } /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; * @return The deleteServiceStrategy. */ @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy - getDeleteServiceStrategy() { + public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy getDeleteServiceStrategy() { if (deleteServiceStrategyBuilder_ == null) { if (strategyCase_ == 200) { return (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_; } - return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy - .getDefaultInstance(); + return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance(); } else { if (strategyCase_ == 200) { return deleteServiceStrategyBuilder_.getMessage(); } - return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy - .getDefaultInstance(); + return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance(); } } /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ - public Builder setDeleteServiceStrategy( - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy value) { + public Builder setDeleteServiceStrategy(com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy value) { if (deleteServiceStrategyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3486,16 +3142,12 @@ public Builder setDeleteServiceStrategy( return this; } /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ public Builder setDeleteServiceStrategy( com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder builderForValue) { @@ -3509,29 +3161,19 @@ public Builder setDeleteServiceStrategy( return this; } /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ - public Builder mergeDeleteServiceStrategy( - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy value) { + public Builder mergeDeleteServiceStrategy(com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy value) { if (deleteServiceStrategyBuilder_ == null) { - if (strategyCase_ == 200 - && strategy_ - != com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy - .getDefaultInstance()) { - strategy_ = - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.newBuilder( - (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_) - .mergeFrom(value) - .buildPartial(); + if (strategyCase_ == 200 && + strategy_ != com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance()) { + strategy_ = com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.newBuilder((com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_) + .mergeFrom(value).buildPartial(); } else { strategy_ = value; } @@ -3547,16 +3189,12 @@ public Builder mergeDeleteServiceStrategy( return this; } /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ public Builder clearDeleteServiceStrategy() { if (deleteServiceStrategyBuilder_ == null) { @@ -3575,101 +3213,76 @@ public Builder clearDeleteServiceStrategy() { return this; } /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ - public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder - getDeleteServiceStrategyBuilder() { + public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder getDeleteServiceStrategyBuilder() { return getDeleteServiceStrategyFieldBuilder().getBuilder(); } /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ @java.lang.Override - public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder - getDeleteServiceStrategyOrBuilder() { + public com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder getDeleteServiceStrategyOrBuilder() { if ((strategyCase_ == 200) && (deleteServiceStrategyBuilder_ != null)) { return deleteServiceStrategyBuilder_.getMessageOrBuilder(); } else { if (strategyCase_ == 200) { return (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_; } - return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy - .getDefaultInstance(); + return com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance(); } } /** - * - * *
      * The strategy associated with a rollout to delete a `ManagedService`.
      * Readonly.
      * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy, - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder, - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder> + com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy, com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder, com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder> getDeleteServiceStrategyFieldBuilder() { if (deleteServiceStrategyBuilder_ == null) { if (!(strategyCase_ == 200)) { - strategy_ = - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy - .getDefaultInstance(); + strategy_ = com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.getDefaultInstance(); } - deleteServiceStrategyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy, - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder, - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder>( + deleteServiceStrategyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy, com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.Builder, com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder>( (com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy) strategy_, getParentForChildren(), isClean()); strategy_ = null; } strategyCase_ = 200; - onChanged(); - ; + onChanged();; return deleteServiceStrategyBuilder_; } private java.lang.Object serviceName_ = ""; /** - * - * *
      * The name of the service associated with this Rollout.
      * 
* * string service_name = 8; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -3678,21 +3291,20 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * The name of the service associated with this Rollout.
      * 
* * string service_name = 8; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -3700,68 +3312,61 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * The name of the service associated with this Rollout.
      * 
* * string service_name = 8; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the service associated with this Rollout.
      * 
* * string service_name = 8; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * The name of the service associated with this Rollout.
      * 
* * string service_name = 8; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = 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); } @@ -3771,12 +3376,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.Rollout) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.Rollout) private static final com.google.api.servicemanagement.v1.Rollout DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.Rollout(); } @@ -3785,27 +3390,27 @@ public static com.google.api.servicemanagement.v1.Rollout getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rollout parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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 Rollout 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; @@ -3820,4 +3425,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.Rollout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/RolloutOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/RolloutOrBuilder.java similarity index 73% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/RolloutOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/RolloutOrBuilder.java index 5f34d0189230..81803467fee4 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/RolloutOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/RolloutOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/resources.proto package com.google.api.servicemanagement.v1; -public interface RolloutOrBuilder - extends +public interface RolloutOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.Rollout) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Unique identifier of this Rollout. Must be no longer than 63
    * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -38,13 +20,10 @@ public interface RolloutOrBuilder
    * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rolloutId. */ java.lang.String getRolloutId(); /** - * - * *
    * Optional. Unique identifier of this Rollout. Must be no longer than 63
    * characters and only lower case letters, digits, '.', '_' and '-' are
@@ -57,38 +36,30 @@ public interface RolloutOrBuilder
    * 
* * string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rolloutId. */ - com.google.protobuf.ByteString getRolloutIdBytes(); + com.google.protobuf.ByteString + getRolloutIdBytes(); /** - * - * *
    * Creation time of the rollout. Readonly.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Creation time of the rollout. Readonly.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Creation time of the rollout. Readonly.
    * 
@@ -98,33 +69,26 @@ public interface RolloutOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The user who created the Rollout. Readonly.
    * 
* * string created_by = 3; - * * @return The createdBy. */ java.lang.String getCreatedBy(); /** - * - * *
    * The user who created the Rollout. Readonly.
    * 
* * string created_by = 3; - * * @return The bytes for createdBy. */ - com.google.protobuf.ByteString getCreatedByBytes(); + com.google.protobuf.ByteString + getCreatedByBytes(); /** - * - * *
    * The status of this rollout. Readonly. In case of a failed rollout,
    * the system will automatically rollback to the current Rollout
@@ -132,13 +96,10 @@ public interface RolloutOrBuilder
    * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * The status of this rollout. Readonly. In case of a failed rollout,
    * the system will automatically rollback to the current Rollout
@@ -146,125 +107,89 @@ public interface RolloutOrBuilder
    * 
* * .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4; - * * @return The status. */ com.google.api.servicemanagement.v1.Rollout.RolloutStatus getStatus(); /** - * - * *
    * Google Service Control selects service configurations based on
    * traffic percentage.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; * @return Whether the trafficPercentStrategy field is set. */ boolean hasTrafficPercentStrategy(); /** - * - * *
    * Google Service Control selects service configurations based on
    * traffic percentage.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; * @return The trafficPercentStrategy. */ com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy getTrafficPercentStrategy(); /** - * - * *
    * Google Service Control selects service configurations based on
    * traffic percentage.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; - * + * .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; */ - com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder - getTrafficPercentStrategyOrBuilder(); + com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder getTrafficPercentStrategyOrBuilder(); /** - * - * *
    * The strategy associated with a rollout to delete a `ManagedService`.
    * Readonly.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; * @return Whether the deleteServiceStrategy field is set. */ boolean hasDeleteServiceStrategy(); /** - * - * *
    * The strategy associated with a rollout to delete a `ManagedService`.
    * Readonly.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; * @return The deleteServiceStrategy. */ com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy getDeleteServiceStrategy(); /** - * - * *
    * The strategy associated with a rollout to delete a `ManagedService`.
    * Readonly.
    * 
* - * - * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; - * + * .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; */ - com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder - getDeleteServiceStrategyOrBuilder(); + com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder getDeleteServiceStrategyOrBuilder(); /** - * - * *
    * The name of the service associated with this Rollout.
    * 
* * string service_name = 8; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * The name of the service associated with this Rollout.
    * 
* * string service_name = 8; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); public com.google.api.servicemanagement.v1.Rollout.StrategyCase getStrategyCase(); } diff --git a/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerProto.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerProto.java new file mode 100644 index 000000000000..ed13a20168d8 --- /dev/null +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ServiceManagerProto.java @@ -0,0 +1,416 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/api/servicemanagement/v1/servicemanager.proto + +package com.google.api.servicemanagement.v1; + +public final class ServiceManagerProto { + private ServiceManagerProto() {} + 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_api_servicemanagement_v1_ListServicesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ListServicesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ListServicesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_GetServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_CreateServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/api/servicemanagement/v1/servic" + + "emanager.proto\022\037google.api.servicemanage" + + "ment.v1\032\034google/api/annotations.proto\032\027g" + + "oogle/api/client.proto\032\037google/api/field" + + "_behavior.proto\032\030google/api/service.prot" + + "o\032/google/api/servicemanagement/v1/resou" + + "rces.proto\032#google/longrunning/operation" + + "s.proto\032\031google/protobuf/any.proto\"r\n\023Li" + + "stServicesRequest\022\033\n\023producer_project_id" + + "\030\001 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030" + + "\006 \001(\t\022\027\n\013consumer_id\030\007 \001(\tB\002\030\001\"r\n\024ListSe" + + "rvicesResponse\022A\n\010services\030\001 \003(\0132/.googl" + + "e.api.servicemanagement.v1.ManagedServic" + + "e\022\027\n\017next_page_token\030\002 \001(\t\".\n\021GetService" + + "Request\022\031\n\014service_name\030\001 \001(\tB\003\340A\002\"]\n\024Cr" + + "eateServiceRequest\022E\n\007service\030\001 \001(\0132/.go" + + "ogle.api.servicemanagement.v1.ManagedSer" + + "viceB\003\340A\002\"1\n\024DeleteServiceRequest\022\031\n\014ser" + + "vice_name\030\001 \001(\tB\003\340A\002\"3\n\026UndeleteServiceR" + + "equest\022\031\n\014service_name\030\001 \001(\tB\003\340A\002\"[\n\027Und" + + "eleteServiceResponse\022@\n\007service\030\001 \001(\0132/." + + "google.api.servicemanagement.v1.ManagedS" + + "ervice\"\302\001\n\027GetServiceConfigRequest\022\031\n\014se" + + "rvice_name\030\001 \001(\tB\003\340A\002\022\026\n\tconfig_id\030\002 \001(\t" + + "B\003\340A\002\022Q\n\004view\030\003 \001(\0162C.google.api.service" + + "management.v1.GetServiceConfigRequest.Co" + + "nfigView\"!\n\nConfigView\022\t\n\005BASIC\020\000\022\010\n\004FUL" + + "L\020\001\"]\n\031ListServiceConfigsRequest\022\031\n\014serv" + + "ice_name\030\001 \001(\tB\003\340A\002\022\022\n\npage_token\030\002 \001(\t\022" + + "\021\n\tpage_size\030\003 \001(\005\"c\n\032ListServiceConfigs" + + "Response\022,\n\017service_configs\030\001 \003(\0132\023.goog" + + "le.api.Service\022\027\n\017next_page_token\030\002 \001(\t\"" + + "i\n\032CreateServiceConfigRequest\022\031\n\014service" + + "_name\030\001 \001(\tB\003\340A\002\0220\n\016service_config\030\002 \001(\013" + + "2\023.google.api.ServiceB\003\340A\002\"\235\001\n\031SubmitCon" + + "figSourceRequest\022\031\n\014service_name\030\001 \001(\tB\003" + + "\340A\002\022I\n\rconfig_source\030\002 \001(\0132-.google.api." + + "servicemanagement.v1.ConfigSourceB\003\340A\002\022\032" + + "\n\rvalidate_only\030\003 \001(\010B\003\340A\001\"I\n\032SubmitConf" + + "igSourceResponse\022+\n\016service_config\030\001 \001(\013" + + "2\023.google.api.Service\"x\n\033CreateServiceRo" + + "lloutRequest\022\031\n\014service_name\030\001 \001(\tB\003\340A\002\022" + + ">\n\007rollout\030\002 \001(\0132(.google.api.serviceman" + + "agement.v1.RolloutB\003\340A\002\"s\n\032ListServiceRo" + + "lloutsRequest\022\031\n\014service_name\030\001 \001(\tB\003\340A\002" + + "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" + + "\023\n\006filter\030\004 \001(\tB\003\340A\002\"r\n\033ListServiceRollo" + + "utsResponse\022:\n\010rollouts\030\001 \003(\0132(.google.a" + + "pi.servicemanagement.v1.Rollout\022\027\n\017next_" + + "page_token\030\002 \001(\t\"N\n\030GetServiceRolloutReq" + + "uest\022\031\n\014service_name\030\001 \001(\tB\003\340A\002\022\027\n\nrollo" + + "ut_id\030\002 \001(\tB\003\340A\002\"{\n\033GenerateConfigReport" + + "Request\022-\n\nnew_config\030\001 \001(\0132\024.google.pro" + + "tobuf.AnyB\003\340A\002\022-\n\nold_config\030\002 \001(\0132\024.goo" + + "gle.protobuf.AnyB\003\340A\001\"\311\001\n\034GenerateConfig" + + "ReportResponse\022\024\n\014service_name\030\001 \001(\t\022\n\n\002" + + "id\030\002 \001(\t\022E\n\016change_reports\030\003 \003(\0132-.googl" + + "e.api.servicemanagement.v1.ChangeReport\022" + + "@\n\013diagnostics\030\004 \003(\0132+.google.api.servic" + + "emanagement.v1.Diagnostic2\310\031\n\016ServiceMan" + + "ager\022\263\001\n\014ListServices\0224.google.api.servi" + + "cemanagement.v1.ListServicesRequest\0325.go" + + "ogle.api.servicemanagement.v1.ListServic" + + "esResponse\"6\202\323\344\223\002\016\022\014/v1/services\332A\037produ" + + "cer_project_id,consumer_id\022\245\001\n\nGetServic" + + "e\0222.google.api.servicemanagement.v1.GetS" + + "erviceRequest\032/.google.api.servicemanage" + + "ment.v1.ManagedService\"2\202\323\344\223\002\035\022\033/v1/serv" + + "ices/{service_name}\332A\014service_name\022\365\001\n\rC" + + "reateService\0225.google.api.servicemanagem" + + "ent.v1.CreateServiceRequest\032\035.google.lon" + + "grunning.Operation\"\215\001\202\323\344\223\002\027\"\014/v1/service" + + "s:\007service\332A\007service\312Ac\n.google.api.serv" + + "icemanagement.v1.ManagedService\0221google." + + "api.servicemanagement.v1.OperationMetada" + + "ta\022\346\001\n\rDeleteService\0225.google.api.servic" + + "emanagement.v1.DeleteServiceRequest\032\035.go" + + "ogle.longrunning.Operation\"\177\202\323\344\223\002\035*\033/v1/" + + "services/{service_name}\332A\014service_name\312A" + + "J\n\025google.protobuf.Empty\0221google.api.ser" + + "vicemanagement.v1.OperationMetadata\022\226\002\n\017" + + "UndeleteService\0227.google.api.servicemana" + + "gement.v1.UndeleteServiceRequest\032\035.googl" + + "e.longrunning.Operation\"\252\001\202\323\344\223\002&\"$/v1/se" + + "rvices/{service_name}:undelete\332A\014service" + + "_name\312Al\n7google.api.servicemanagement.v" + + "1.UndeleteServiceResponse\0221google.api.se" + + "rvicemanagement.v1.OperationMetadata\022\311\001\n" + + "\022ListServiceConfigs\022:.google.api.service" + + "management.v1.ListServiceConfigsRequest\032" + + ";.google.api.servicemanagement.v1.ListSe" + + "rviceConfigsResponse\":\202\323\344\223\002%\022#/v1/servic" + + "es/{service_name}/configs\332A\014service_name" + + "\022\336\001\n\020GetServiceConfig\0228.google.api.servi" + + "cemanagement.v1.GetServiceConfigRequest\032" + + "\023.google.api.Service\"{\202\323\344\223\002W\022//v1/servic" + + "es/{service_name}/configs/{config_id}Z$\022" + + "\"/v1/services/{service_name}/config\332A\033se" + + "rvice_name,config_id,view\022\302\001\n\023CreateServ" + + "iceConfig\022;.google.api.servicemanagement" + + ".v1.CreateServiceConfigRequest\032\023.google." + + "api.Service\"Y\202\323\344\223\0025\"#/v1/services/{servi" + + "ce_name}/configs:\016service_config\332A\033servi" + + "ce_name,service_config\022\304\002\n\022SubmitConfigS" + + "ource\022:.google.api.servicemanagement.v1." + + "SubmitConfigSourceRequest\032\035.google.longr" + + "unning.Operation\"\322\001\202\323\344\223\002/\"*/v1/services/" + + "{service_name}/configs:submit:\001*\332A(servi" + + "ce_name,config_source,validate_only\312Ao\n:" + + "google.api.servicemanagement.v1.SubmitCo" + + "nfigSourceResponse\0221google.api.servicema" + + "nagement.v1.OperationMetadata\022\324\001\n\023ListSe" + + "rviceRollouts\022;.google.api.servicemanage" + + "ment.v1.ListServiceRolloutsRequest\032<.goo" + + "gle.api.servicemanagement.v1.ListService" + + "RolloutsResponse\"B\202\323\344\223\002&\022$/v1/services/{" + + "service_name}/rollouts\332A\023service_name,fi" + + "lter\022\315\001\n\021GetServiceRollout\0229.google.api." + + "servicemanagement.v1.GetServiceRolloutRe" + + "quest\032(.google.api.servicemanagement.v1." + + "Rollout\"S\202\323\344\223\0023\0221/v1/services/{service_n" + + "ame}/rollouts/{rollout_id}\332A\027service_nam" + + "e,rollout_id\022\241\002\n\024CreateServiceRollout\022<." + + "google.api.servicemanagement.v1.CreateSe" + + "rviceRolloutRequest\032\035.google.longrunning" + + ".Operation\"\253\001\202\323\344\223\002/\"$/v1/services/{servi" + + "ce_name}/rollouts:\007rollout\332A\024service_nam" + + "e,rollout\312A\\\n\'google.api.servicemanageme" + + "nt.v1.Rollout\0221google.api.servicemanagem" + + "ent.v1.OperationMetadata\022\331\001\n\024GenerateCon" + + "figReport\022<.google.api.servicemanagement" + + ".v1.GenerateConfigReportRequest\032=.google" + + ".api.servicemanagement.v1.GenerateConfig" + + "ReportResponse\"D\202\323\344\223\002&\"!/v1/services:gen" + + "erateConfigReport:\001*\332A\025new_config,old_co" + + "nfig\032\375\001\312A servicemanagement.googleapis.c" + + "om\322A\326\001https://www.googleapis.com/auth/cl" + + "oud-platform,https://www.googleapis.com/" + + "auth/cloud-platform.read-only,https://ww" + + "w.googleapis.com/auth/service.management" + + ",https://www.googleapis.com/auth/service" + + ".management.readonlyB\204\002\n#com.google.api." + + "servicemanagement.v1B\023ServiceManagerProt" + + "oP\001ZPgoogle.golang.org/genproto/googleap" + + "is/api/servicemanagement/v1;servicemanag" + + "ement\242\002\004GASM\252\002!Google.Cloud.ServiceManag" + + "ement.V1\312\002!Google\\Cloud\\ServiceManagemen" + + "t\\V1\352\002$Google::Cloud::ServiceManagement:" + + ":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.ServiceProto.getDescriptor(), + com.google.api.servicemanagement.v1.ResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + }); + internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_api_servicemanagement_v1_ListServicesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ListServicesRequest_descriptor, + new java.lang.String[] { "ProducerProjectId", "PageSize", "PageToken", "ConsumerId", }); + internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_api_servicemanagement_v1_ListServicesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ListServicesResponse_descriptor, + new java.lang.String[] { "Services", "NextPageToken", }); + internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_api_servicemanagement_v1_GetServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_GetServiceRequest_descriptor, + new java.lang.String[] { "ServiceName", }); + internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_api_servicemanagement_v1_CreateServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_CreateServiceRequest_descriptor, + new java.lang.String[] { "Service", }); + internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_DeleteServiceRequest_descriptor, + new java.lang.String[] { "ServiceName", }); + internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor, + new java.lang.String[] { "ServiceName", }); + internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor, + new java.lang.String[] { "Service", }); + internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_GetServiceConfigRequest_descriptor, + new java.lang.String[] { "ServiceName", "ConfigId", "View", }); + internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ListServiceConfigsRequest_descriptor, + new java.lang.String[] { "ServiceName", "PageToken", "PageSize", }); + internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ListServiceConfigsResponse_descriptor, + new java.lang.String[] { "ServiceConfigs", "NextPageToken", }); + internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_CreateServiceConfigRequest_descriptor, + new java.lang.String[] { "ServiceName", "ServiceConfig", }); + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor, + new java.lang.String[] { "ServiceName", "ConfigSource", "ValidateOnly", }); + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor, + new java.lang.String[] { "ServiceConfig", }); + internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_CreateServiceRolloutRequest_descriptor, + new java.lang.String[] { "ServiceName", "Rollout", }); + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsRequest_descriptor, + new java.lang.String[] { "ServiceName", "PageToken", "PageSize", "Filter", }); + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_ListServiceRolloutsResponse_descriptor, + new java.lang.String[] { "Rollouts", "NextPageToken", }); + internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_GetServiceRolloutRequest_descriptor, + new java.lang.String[] { "ServiceName", "RolloutId", }); + internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_GenerateConfigReportRequest_descriptor, + new java.lang.String[] { "NewConfig", "OldConfig", }); + internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_servicemanagement_v1_GenerateConfigReportResponse_descriptor, + new java.lang.String[] { "ServiceName", "Id", "ChangeReports", "Diagnostics", }); + 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.longrunning.OperationsProto.operationInfo); + 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.ServiceProto.getDescriptor(); + com.google.api.servicemanagement.v1.ResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequest.java similarity index 66% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequest.java index 57c44e891e5f..ed25dbd0d771 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for SubmitConfigSource method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.SubmitConfigSourceRequest} */ -public final class SubmitConfigSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SubmitConfigSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.SubmitConfigSourceRequest) SubmitConfigSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SubmitConfigSourceRequest.newBuilder() to construct. private SubmitConfigSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SubmitConfigSourceRequest() { serviceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SubmitConfigSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.class, - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.Builder.class); + com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.class, com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -79,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -88,15 +66,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -104,15 +81,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -123,16 +101,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int CONFIG_SOURCE_FIELD_NUMBER = 2; private com.google.api.servicemanagement.v1.ConfigSource configSource_; /** - * - * *
    * Required. The source configuration for the service.
    * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configSource field is set. */ @java.lang.Override @@ -140,34 +113,23 @@ public boolean hasConfigSource() { return configSource_ != null; } /** - * - * *
    * Required. The source configuration for the service.
    * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The configSource. */ @java.lang.Override public com.google.api.servicemanagement.v1.ConfigSource getConfigSource() { - return configSource_ == null - ? com.google.api.servicemanagement.v1.ConfigSource.getDefaultInstance() - : configSource_; + return configSource_ == null ? com.google.api.servicemanagement.v1.ConfigSource.getDefaultInstance() : configSource_; } /** - * - * *
    * Required. The source configuration for the service.
    * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.api.servicemanagement.v1.ConfigSourceOrBuilder getConfigSourceOrBuilder() { @@ -177,8 +139,6 @@ public com.google.api.servicemanagement.v1.ConfigSourceOrBuilder getConfigSource public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_; /** - * - * *
    * Optional. If set, this will result in the generation of a
    * `google.api.Service` configuration based on the `ConfigSource` provided,
@@ -186,7 +146,6 @@ public com.google.api.servicemanagement.v1.ConfigSourceOrBuilder getConfigSource
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -195,7 +154,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -230,10 +189,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceName_); } if (configSource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfigSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConfigSource()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -243,20 +204,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.api.servicemanagement.v1.SubmitConfigSourceRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest other = - (com.google.api.servicemanagement.v1.SubmitConfigSourceRequest) obj; + com.google.api.servicemanagement.v1.SubmitConfigSourceRequest other = (com.google.api.servicemanagement.v1.SubmitConfigSourceRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (hasConfigSource() != other.hasConfigSource()) return false; if (hasConfigSource()) { - if (!getConfigSource().equals(other.getConfigSource())) return false; + if (!getConfigSource() + .equals(other.getConfigSource())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,143 +238,137 @@ public int hashCode() { hash = (53 * hash) + getConfigSource().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.SubmitConfigSourceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for SubmitConfigSource method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.SubmitConfigSourceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.SubmitConfigSourceRequest) com.google.api.servicemanagement.v1.SubmitConfigSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.class, - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.Builder.class); + com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.class, com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.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(); @@ -429,14 +386,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceRequest_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.SubmitConfigSourceRequest - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.SubmitConfigSourceRequest getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.getDefaultInstance(); } @@ -451,8 +407,7 @@ public com.google.api.servicemanagement.v1.SubmitConfigSourceRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.SubmitConfigSourceRequest buildPartial() { - com.google.api.servicemanagement.v1.SubmitConfigSourceRequest result = - new com.google.api.servicemanagement.v1.SubmitConfigSourceRequest(this); + com.google.api.servicemanagement.v1.SubmitConfigSourceRequest result = new com.google.api.servicemanagement.v1.SubmitConfigSourceRequest(this); result.serviceName_ = serviceName_; if (configSourceBuilder_ == null) { result.configSource_ = configSource_; @@ -468,39 +423,38 @@ public com.google.api.servicemanagement.v1.SubmitConfigSourceRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.SubmitConfigSourceRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.SubmitConfigSourceRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.SubmitConfigSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -508,9 +462,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.SubmitConfigSourceRequest other) { - if (other - == com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -547,31 +499,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); + case 10: { + serviceName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getConfigSourceFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getConfigSourceFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -584,8 +534,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -593,13 +541,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -608,8 +556,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -617,14 +563,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -632,8 +579,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -641,22 +586,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -664,18 +607,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service.  See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -683,16 +623,16 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -700,58 +640,39 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private com.google.api.servicemanagement.v1.ConfigSource configSource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ConfigSource, - com.google.api.servicemanagement.v1.ConfigSource.Builder, - com.google.api.servicemanagement.v1.ConfigSourceOrBuilder> - configSourceBuilder_; + com.google.api.servicemanagement.v1.ConfigSource, com.google.api.servicemanagement.v1.ConfigSource.Builder, com.google.api.servicemanagement.v1.ConfigSourceOrBuilder> configSourceBuilder_; /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configSource field is set. */ public boolean hasConfigSource() { return configSourceBuilder_ != null || configSource_ != null; } /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The configSource. */ public com.google.api.servicemanagement.v1.ConfigSource getConfigSource() { if (configSourceBuilder_ == null) { - return configSource_ == null - ? com.google.api.servicemanagement.v1.ConfigSource.getDefaultInstance() - : configSource_; + return configSource_ == null ? com.google.api.servicemanagement.v1.ConfigSource.getDefaultInstance() : configSource_; } else { return configSourceBuilder_.getMessage(); } } /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfigSource(com.google.api.servicemanagement.v1.ConfigSource value) { if (configSourceBuilder_ == null) { @@ -767,15 +688,11 @@ public Builder setConfigSource(com.google.api.servicemanagement.v1.ConfigSource return this; } /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfigSource( com.google.api.servicemanagement.v1.ConfigSource.Builder builderForValue) { @@ -789,23 +706,17 @@ public Builder setConfigSource( return this; } /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConfigSource(com.google.api.servicemanagement.v1.ConfigSource value) { if (configSourceBuilder_ == null) { if (configSource_ != null) { configSource_ = - com.google.api.servicemanagement.v1.ConfigSource.newBuilder(configSource_) - .mergeFrom(value) - .buildPartial(); + com.google.api.servicemanagement.v1.ConfigSource.newBuilder(configSource_).mergeFrom(value).buildPartial(); } else { configSource_ = value; } @@ -817,15 +728,11 @@ public Builder mergeConfigSource(com.google.api.servicemanagement.v1.ConfigSourc return this; } /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfigSource() { if (configSourceBuilder_ == null) { @@ -839,73 +746,55 @@ public Builder clearConfigSource() { return this; } /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.servicemanagement.v1.ConfigSource.Builder getConfigSourceBuilder() { - + onChanged(); return getConfigSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.servicemanagement.v1.ConfigSourceOrBuilder getConfigSourceOrBuilder() { if (configSourceBuilder_ != null) { return configSourceBuilder_.getMessageOrBuilder(); } else { - return configSource_ == null - ? com.google.api.servicemanagement.v1.ConfigSource.getDefaultInstance() - : configSource_; + return configSource_ == null ? + com.google.api.servicemanagement.v1.ConfigSource.getDefaultInstance() : configSource_; } } /** - * - * *
      * Required. The source configuration for the service.
      * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ConfigSource, - com.google.api.servicemanagement.v1.ConfigSource.Builder, - com.google.api.servicemanagement.v1.ConfigSourceOrBuilder> + com.google.api.servicemanagement.v1.ConfigSource, com.google.api.servicemanagement.v1.ConfigSource.Builder, com.google.api.servicemanagement.v1.ConfigSourceOrBuilder> getConfigSourceFieldBuilder() { if (configSourceBuilder_ == null) { - configSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ConfigSource, - com.google.api.servicemanagement.v1.ConfigSource.Builder, - com.google.api.servicemanagement.v1.ConfigSourceOrBuilder>( - getConfigSource(), getParentForChildren(), isClean()); + configSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.servicemanagement.v1.ConfigSource, com.google.api.servicemanagement.v1.ConfigSource.Builder, com.google.api.servicemanagement.v1.ConfigSourceOrBuilder>( + getConfigSource(), + getParentForChildren(), + isClean()); configSource_ = null; } return configSourceBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, this will result in the generation of a
      * `google.api.Service` configuration based on the `ConfigSource` provided,
@@ -913,7 +802,6 @@ public com.google.api.servicemanagement.v1.ConfigSourceOrBuilder getConfigSource
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -921,8 +809,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, this will result in the generation of a
      * `google.api.Service` configuration based on the `ConfigSource` provided,
@@ -930,19 +816,16 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set, this will result in the generation of a
      * `google.api.Service` configuration based on the `ConfigSource` provided,
@@ -950,18 +833,17 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -971,13 +853,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.SubmitConfigSourceRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.SubmitConfigSourceRequest) - private static final com.google.api.servicemanagement.v1.SubmitConfigSourceRequest - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.SubmitConfigSourceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.SubmitConfigSourceRequest(); } @@ -986,27 +867,27 @@ public static com.google.api.servicemanagement.v1.SubmitConfigSourceRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubmitConfigSourceRequest 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 SubmitConfigSourceRequest 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; @@ -1021,4 +902,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.api.servicemanagement.v1.SubmitConfigSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequestOrBuilder.java similarity index 62% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequestOrBuilder.java index 3dd9ab7e2c49..c677d098811e 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface SubmitConfigSourceRequestOrBuilder - extends +public interface SubmitConfigSourceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.SubmitConfigSourceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -33,13 +15,10 @@ public interface SubmitConfigSourceRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service.  See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
@@ -47,55 +26,39 @@ public interface SubmitConfigSourceRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * Required. The source configuration for the service.
    * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configSource field is set. */ boolean hasConfigSource(); /** - * - * *
    * Required. The source configuration for the service.
    * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The configSource. */ com.google.api.servicemanagement.v1.ConfigSource getConfigSource(); /** - * - * *
    * Required. The source configuration for the service.
    * 
* - * - * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.api.servicemanagement.v1.ConfigSourceOrBuilder getConfigSourceOrBuilder(); /** - * - * *
    * Optional. If set, this will result in the generation of a
    * `google.api.Service` configuration based on the `ConfigSource` provided,
@@ -103,7 +66,6 @@ public interface SubmitConfigSourceRequestOrBuilder
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponse.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponse.java similarity index 66% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponse.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponse.java index 3aec2b5be93f..a1f82606cd36 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponse.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponse.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Response message for SubmitConfigSource method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.SubmitConfigSourceResponse} */ -public final class SubmitConfigSourceResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SubmitConfigSourceResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.SubmitConfigSourceResponse) SubmitConfigSourceResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SubmitConfigSourceResponse.newBuilder() to construct. private SubmitConfigSourceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SubmitConfigSourceResponse() {} + private SubmitConfigSourceResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SubmitConfigSourceResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.class, - com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.Builder.class); + com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.class, com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.Builder.class); } public static final int SERVICE_CONFIG_FIELD_NUMBER = 1; private com.google.api.Service serviceConfig_; /** - * - * *
    * The generated service configuration.
    * 
* * .google.api.Service service_config = 1; - * * @return Whether the serviceConfig field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasServiceConfig() { return serviceConfig_ != null; } /** - * - * *
    * The generated service configuration.
    * 
* * .google.api.Service service_config = 1; - * * @return The serviceConfig. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.api.Service getServiceConfig() { return serviceConfig_ == null ? com.google.api.Service.getDefaultInstance() : serviceConfig_; } /** - * - * *
    * The generated service configuration.
    * 
@@ -112,7 +86,6 @@ public com.google.api.ServiceOrBuilder getServiceConfigOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,7 +97,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 (serviceConfig_ != null) { output.writeMessage(1, getServiceConfig()); } @@ -138,7 +112,8 @@ public int getSerializedSize() { size = 0; if (serviceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getServiceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getServiceConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -148,17 +123,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.api.servicemanagement.v1.SubmitConfigSourceResponse)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.SubmitConfigSourceResponse other = - (com.google.api.servicemanagement.v1.SubmitConfigSourceResponse) obj; + com.google.api.servicemanagement.v1.SubmitConfigSourceResponse other = (com.google.api.servicemanagement.v1.SubmitConfigSourceResponse) obj; if (hasServiceConfig() != other.hasServiceConfig()) return false; if (hasServiceConfig()) { - if (!getServiceConfig().equals(other.getServiceConfig())) return false; + if (!getServiceConfig() + .equals(other.getServiceConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -181,136 +156,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.SubmitConfigSourceResponse prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.SubmitConfigSourceResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Response message for SubmitConfigSource method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.SubmitConfigSourceResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.SubmitConfigSourceResponse) com.google.api.servicemanagement.v1.SubmitConfigSourceResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.class, - com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.Builder.class); + com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.class, com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.Builder.class); } // Construct using com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.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(); @@ -324,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_SubmitConfigSourceResponse_descriptor; } @java.lang.Override - public com.google.api.servicemanagement.v1.SubmitConfigSourceResponse - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.SubmitConfigSourceResponse getDefaultInstanceForType() { return com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.getDefaultInstance(); } @@ -346,8 +313,7 @@ public com.google.api.servicemanagement.v1.SubmitConfigSourceResponse build() { @java.lang.Override public com.google.api.servicemanagement.v1.SubmitConfigSourceResponse buildPartial() { - com.google.api.servicemanagement.v1.SubmitConfigSourceResponse result = - new com.google.api.servicemanagement.v1.SubmitConfigSourceResponse(this); + com.google.api.servicemanagement.v1.SubmitConfigSourceResponse result = new com.google.api.servicemanagement.v1.SubmitConfigSourceResponse(this); if (serviceConfigBuilder_ == null) { result.serviceConfig_ = serviceConfig_; } else { @@ -361,39 +327,38 @@ public com.google.api.servicemanagement.v1.SubmitConfigSourceResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicemanagement.v1.SubmitConfigSourceResponse) { - return mergeFrom((com.google.api.servicemanagement.v1.SubmitConfigSourceResponse) other); + return mergeFrom((com.google.api.servicemanagement.v1.SubmitConfigSourceResponse)other); } else { super.mergeFrom(other); return this; @@ -401,9 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.SubmitConfigSourceResponse other) { - if (other - == com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.SubmitConfigSourceResponse.getDefaultInstance()) return this; if (other.hasServiceConfig()) { mergeServiceConfig(other.getServiceConfig()); } @@ -433,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getServiceConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getServiceConfigFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -458,45 +421,34 @@ public Builder mergeFrom( private com.google.api.Service serviceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> - serviceConfigBuilder_; + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> serviceConfigBuilder_; /** - * - * *
      * The generated service configuration.
      * 
* * .google.api.Service service_config = 1; - * * @return Whether the serviceConfig field is set. */ public boolean hasServiceConfig() { return serviceConfigBuilder_ != null || serviceConfig_ != null; } /** - * - * *
      * The generated service configuration.
      * 
* * .google.api.Service service_config = 1; - * * @return The serviceConfig. */ public com.google.api.Service getServiceConfig() { if (serviceConfigBuilder_ == null) { - return serviceConfig_ == null - ? com.google.api.Service.getDefaultInstance() - : serviceConfig_; + return serviceConfig_ == null ? com.google.api.Service.getDefaultInstance() : serviceConfig_; } else { return serviceConfigBuilder_.getMessage(); } } /** - * - * *
      * The generated service configuration.
      * 
@@ -517,15 +469,14 @@ public Builder setServiceConfig(com.google.api.Service value) { return this; } /** - * - * *
      * The generated service configuration.
      * 
* * .google.api.Service service_config = 1; */ - public Builder setServiceConfig(com.google.api.Service.Builder builderForValue) { + public Builder setServiceConfig( + com.google.api.Service.Builder builderForValue) { if (serviceConfigBuilder_ == null) { serviceConfig_ = builderForValue.build(); onChanged(); @@ -536,8 +487,6 @@ public Builder setServiceConfig(com.google.api.Service.Builder builderForValue) return this; } /** - * - * *
      * The generated service configuration.
      * 
@@ -548,7 +497,7 @@ public Builder mergeServiceConfig(com.google.api.Service value) { if (serviceConfigBuilder_ == null) { if (serviceConfig_ != null) { serviceConfig_ = - com.google.api.Service.newBuilder(serviceConfig_).mergeFrom(value).buildPartial(); + com.google.api.Service.newBuilder(serviceConfig_).mergeFrom(value).buildPartial(); } else { serviceConfig_ = value; } @@ -560,8 +509,6 @@ public Builder mergeServiceConfig(com.google.api.Service value) { return this; } /** - * - * *
      * The generated service configuration.
      * 
@@ -580,8 +527,6 @@ public Builder clearServiceConfig() { return this; } /** - * - * *
      * The generated service configuration.
      * 
@@ -589,13 +534,11 @@ public Builder clearServiceConfig() { * .google.api.Service service_config = 1; */ public com.google.api.Service.Builder getServiceConfigBuilder() { - + onChanged(); return getServiceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The generated service configuration.
      * 
@@ -606,14 +549,11 @@ public com.google.api.ServiceOrBuilder getServiceConfigOrBuilder() { if (serviceConfigBuilder_ != null) { return serviceConfigBuilder_.getMessageOrBuilder(); } else { - return serviceConfig_ == null - ? com.google.api.Service.getDefaultInstance() - : serviceConfig_; + return serviceConfig_ == null ? + com.google.api.Service.getDefaultInstance() : serviceConfig_; } } /** - * - * *
      * The generated service configuration.
      * 
@@ -621,22 +561,21 @@ public com.google.api.ServiceOrBuilder getServiceConfigOrBuilder() { * .google.api.Service service_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder> getServiceConfigFieldBuilder() { if (serviceConfigBuilder_ == null) { - serviceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Service, - com.google.api.Service.Builder, - com.google.api.ServiceOrBuilder>( - getServiceConfig(), getParentForChildren(), isClean()); + serviceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Service, com.google.api.Service.Builder, com.google.api.ServiceOrBuilder>( + getServiceConfig(), + getParentForChildren(), + isClean()); serviceConfig_ = null; } return serviceConfigBuilder_; } - @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); } @@ -646,43 +585,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.SubmitConfigSourceResponse) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.SubmitConfigSourceResponse) - private static final com.google.api.servicemanagement.v1.SubmitConfigSourceResponse - DEFAULT_INSTANCE; - + private static final com.google.api.servicemanagement.v1.SubmitConfigSourceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.SubmitConfigSourceResponse(); } - public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse - getDefaultInstance() { + public static com.google.api.servicemanagement.v1.SubmitConfigSourceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubmitConfigSourceResponse 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 SubmitConfigSourceResponse 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; @@ -694,8 +631,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.api.servicemanagement.v1.SubmitConfigSourceResponse - getDefaultInstanceForType() { + public com.google.api.servicemanagement.v1.SubmitConfigSourceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponseOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponseOrBuilder.java similarity index 58% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponseOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponseOrBuilder.java index d3d564a40ba7..33df20dea621 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponseOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/SubmitConfigSourceResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface SubmitConfigSourceResponseOrBuilder - extends +public interface SubmitConfigSourceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.SubmitConfigSourceResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The generated service configuration.
    * 
* * .google.api.Service service_config = 1; - * * @return Whether the serviceConfig field is set. */ boolean hasServiceConfig(); /** - * - * *
    * The generated service configuration.
    * 
* * .google.api.Service service_config = 1; - * * @return The serviceConfig. */ com.google.api.Service getServiceConfig(); /** - * - * *
    * The generated service configuration.
    * 
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequest.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequest.java similarity index 68% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequest.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequest.java index 2888acb048fd..c2005ade724f 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequest.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Request message for UndeleteService method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.UndeleteServiceRequest} */ -public final class UndeleteServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UndeleteServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.UndeleteServiceRequest) UndeleteServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UndeleteServiceRequest.newBuilder() to construct. private UndeleteServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UndeleteServiceRequest() { serviceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UndeleteServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.UndeleteServiceRequest.class, - com.google.api.servicemanagement.v1.UndeleteServiceRequest.Builder.class); + com.google.api.servicemanagement.v1.UndeleteServiceRequest.class, com.google.api.servicemanagement.v1.UndeleteServiceRequest.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** - * - * *
    * Required. The name of the service. See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -79,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ @java.lang.Override @@ -88,15 +66,14 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * Required. The name of the service. See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -104,15 +81,16 @@ public java.lang.String getServiceName() {
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -121,7 +99,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +110,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(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } @@ -157,15 +135,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.api.servicemanagement.v1.UndeleteServiceRequest)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.UndeleteServiceRequest other = - (com.google.api.servicemanagement.v1.UndeleteServiceRequest) obj; + com.google.api.servicemanagement.v1.UndeleteServiceRequest other = (com.google.api.servicemanagement.v1.UndeleteServiceRequest) obj; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,136 +163,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.UndeleteServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.UndeleteServiceRequest prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.UndeleteServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Request message for UndeleteService method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.UndeleteServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.UndeleteServiceRequest) com.google.api.servicemanagement.v1.UndeleteServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.UndeleteServiceRequest.class, - com.google.api.servicemanagement.v1.UndeleteServiceRequest.Builder.class); + com.google.api.servicemanagement.v1.UndeleteServiceRequest.class, com.google.api.servicemanagement.v1.UndeleteServiceRequest.Builder.class); } // Construct using com.google.api.servicemanagement.v1.UndeleteServiceRequest.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(); @@ -324,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceRequest_descriptor; } @java.lang.Override @@ -345,8 +316,7 @@ public com.google.api.servicemanagement.v1.UndeleteServiceRequest build() { @java.lang.Override public com.google.api.servicemanagement.v1.UndeleteServiceRequest buildPartial() { - com.google.api.servicemanagement.v1.UndeleteServiceRequest result = - new com.google.api.servicemanagement.v1.UndeleteServiceRequest(this); + com.google.api.servicemanagement.v1.UndeleteServiceRequest result = new com.google.api.servicemanagement.v1.UndeleteServiceRequest(this); result.serviceName_ = serviceName_; onBuilt(); return result; @@ -356,39 +326,38 @@ public com.google.api.servicemanagement.v1.UndeleteServiceRequest 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.api.servicemanagement.v1.UndeleteServiceRequest) { - return mergeFrom((com.google.api.servicemanagement.v1.UndeleteServiceRequest) other); + return mergeFrom((com.google.api.servicemanagement.v1.UndeleteServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.UndeleteServiceRequest other) { - if (other == com.google.api.servicemanagement.v1.UndeleteServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.UndeleteServiceRequest.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); @@ -428,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serviceName_ = input.readStringRequireUtf8(); + + 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) { @@ -453,8 +419,6 @@ public Builder mergeFrom( private java.lang.Object serviceName_ = ""; /** - * - * *
      * Required. The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -462,13 +426,13 @@ public Builder mergeFrom(
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -477,8 +441,6 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * Required. The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -486,14 +448,15 @@ public java.lang.String getServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -501,8 +464,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * Required. The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -510,22 +471,20 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -533,18 +492,15 @@ public Builder setServiceName(java.lang.String value) {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the service. See the
      * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -552,23 +508,23 @@ public Builder clearServiceName() {
      * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = 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); } @@ -578,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.UndeleteServiceRequest) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.UndeleteServiceRequest) private static final com.google.api.servicemanagement.v1.UndeleteServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.UndeleteServiceRequest(); } @@ -592,27 +548,27 @@ public static com.google.api.servicemanagement.v1.UndeleteServiceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeleteServiceRequest 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 UndeleteServiceRequest 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; @@ -627,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.UndeleteServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequestOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequestOrBuilder.java similarity index 59% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequestOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequestOrBuilder.java index 6b0cf36c1905..fcd26d797d35 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface UndeleteServiceRequestOrBuilder - extends +public interface UndeleteServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.UndeleteServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the service. See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -33,13 +15,10 @@ public interface UndeleteServiceRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * Required. The name of the service. See the
    * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
@@ -47,8 +26,8 @@ public interface UndeleteServiceRequestOrBuilder
    * 
* * string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); } diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponse.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponse.java similarity index 66% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponse.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponse.java index 5fdb85b7d0e8..81f3eb5d5999 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponse.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponse.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; /** - * - * *
  * Response message for UndeleteService method.
  * 
* * Protobuf type {@code google.api.servicemanagement.v1.UndeleteServiceResponse} */ -public final class UndeleteServiceResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UndeleteServiceResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.servicemanagement.v1.UndeleteServiceResponse) UndeleteServiceResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UndeleteServiceResponse.newBuilder() to construct. private UndeleteServiceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UndeleteServiceResponse() {} + private UndeleteServiceResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UndeleteServiceResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.UndeleteServiceResponse.class, - com.google.api.servicemanagement.v1.UndeleteServiceResponse.Builder.class); + com.google.api.servicemanagement.v1.UndeleteServiceResponse.class, com.google.api.servicemanagement.v1.UndeleteServiceResponse.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; private com.google.api.servicemanagement.v1.ManagedService service_; /** - * - * *
    * Revived service resource.
    * 
* * .google.api.servicemanagement.v1.ManagedService service = 1; - * * @return Whether the service field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasService() { return service_ != null; } /** - * - * *
    * Revived service resource.
    * 
* * .google.api.servicemanagement.v1.ManagedService service = 1; - * * @return The service. */ @java.lang.Override public com.google.api.servicemanagement.v1.ManagedService getService() { - return service_ == null - ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() - : service_; + return service_ == null ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() : service_; } /** - * - * *
    * Revived service resource.
    * 
@@ -114,7 +86,6 @@ public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServiceOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +97,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 (service_ != null) { output.writeMessage(1, getService()); } @@ -140,7 +112,8 @@ public int getSerializedSize() { size = 0; if (service_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getService()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getService()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +123,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.api.servicemanagement.v1.UndeleteServiceResponse)) { return super.equals(obj); } - com.google.api.servicemanagement.v1.UndeleteServiceResponse other = - (com.google.api.servicemanagement.v1.UndeleteServiceResponse) obj; + com.google.api.servicemanagement.v1.UndeleteServiceResponse other = (com.google.api.servicemanagement.v1.UndeleteServiceResponse) obj; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -183,136 +156,129 @@ public int hashCode() { } public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.servicemanagement.v1.UndeleteServiceResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.api.servicemanagement.v1.UndeleteServiceResponse prototype) { + public static Builder newBuilder(com.google.api.servicemanagement.v1.UndeleteServiceResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Response message for UndeleteService method.
    * 
* * Protobuf type {@code google.api.servicemanagement.v1.UndeleteServiceResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicemanagement.v1.UndeleteServiceResponse) com.google.api.servicemanagement.v1.UndeleteServiceResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_fieldAccessorTable + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.servicemanagement.v1.UndeleteServiceResponse.class, - com.google.api.servicemanagement.v1.UndeleteServiceResponse.Builder.class); + com.google.api.servicemanagement.v1.UndeleteServiceResponse.class, com.google.api.servicemanagement.v1.UndeleteServiceResponse.Builder.class); } // Construct using com.google.api.servicemanagement.v1.UndeleteServiceResponse.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(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.api.servicemanagement.v1.ServiceManagerProto - .internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.api.servicemanagement.v1.ServiceManagerProto.internal_static_google_api_servicemanagement_v1_UndeleteServiceResponse_descriptor; } @java.lang.Override @@ -347,8 +313,7 @@ public com.google.api.servicemanagement.v1.UndeleteServiceResponse build() { @java.lang.Override public com.google.api.servicemanagement.v1.UndeleteServiceResponse buildPartial() { - com.google.api.servicemanagement.v1.UndeleteServiceResponse result = - new com.google.api.servicemanagement.v1.UndeleteServiceResponse(this); + com.google.api.servicemanagement.v1.UndeleteServiceResponse result = new com.google.api.servicemanagement.v1.UndeleteServiceResponse(this); if (serviceBuilder_ == null) { result.service_ = service_; } else { @@ -362,39 +327,38 @@ public com.google.api.servicemanagement.v1.UndeleteServiceResponse 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.api.servicemanagement.v1.UndeleteServiceResponse) { - return mergeFrom((com.google.api.servicemanagement.v1.UndeleteServiceResponse) other); + return mergeFrom((com.google.api.servicemanagement.v1.UndeleteServiceResponse)other); } else { super.mergeFrom(other); return this; @@ -402,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.servicemanagement.v1.UndeleteServiceResponse other) { - if (other == com.google.api.servicemanagement.v1.UndeleteServiceResponse.getDefaultInstance()) - return this; + if (other == com.google.api.servicemanagement.v1.UndeleteServiceResponse.getDefaultInstance()) return this; if (other.hasService()) { mergeService(other.getService()); } @@ -433,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getServiceFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getServiceFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -458,47 +421,34 @@ public Builder mergeFrom( private com.google.api.servicemanagement.v1.ManagedService service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> - serviceBuilder_; + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> serviceBuilder_; /** - * - * *
      * Revived service resource.
      * 
* * .google.api.servicemanagement.v1.ManagedService service = 1; - * * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** - * - * *
      * Revived service resource.
      * 
* * .google.api.servicemanagement.v1.ManagedService service = 1; - * * @return The service. */ public com.google.api.servicemanagement.v1.ManagedService getService() { if (serviceBuilder_ == null) { - return service_ == null - ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() - : service_; + return service_ == null ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() : service_; } else { return serviceBuilder_.getMessage(); } } /** - * - * *
      * Revived service resource.
      * 
@@ -519,8 +469,6 @@ public Builder setService(com.google.api.servicemanagement.v1.ManagedService val return this; } /** - * - * *
      * Revived service resource.
      * 
@@ -539,8 +487,6 @@ public Builder setService( return this; } /** - * - * *
      * Revived service resource.
      * 
@@ -551,9 +497,7 @@ public Builder mergeService(com.google.api.servicemanagement.v1.ManagedService v if (serviceBuilder_ == null) { if (service_ != null) { service_ = - com.google.api.servicemanagement.v1.ManagedService.newBuilder(service_) - .mergeFrom(value) - .buildPartial(); + com.google.api.servicemanagement.v1.ManagedService.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } @@ -565,8 +509,6 @@ public Builder mergeService(com.google.api.servicemanagement.v1.ManagedService v return this; } /** - * - * *
      * Revived service resource.
      * 
@@ -585,8 +527,6 @@ public Builder clearService() { return this; } /** - * - * *
      * Revived service resource.
      * 
@@ -594,13 +534,11 @@ public Builder clearService() { * .google.api.servicemanagement.v1.ManagedService service = 1; */ public com.google.api.servicemanagement.v1.ManagedService.Builder getServiceBuilder() { - + onChanged(); return getServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Revived service resource.
      * 
@@ -611,14 +549,11 @@ public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServiceOrB if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null - ? com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() - : service_; + return service_ == null ? + com.google.api.servicemanagement.v1.ManagedService.getDefaultInstance() : service_; } } /** - * - * *
      * Revived service resource.
      * 
@@ -626,24 +561,21 @@ public com.google.api.servicemanagement.v1.ManagedServiceOrBuilder getServiceOrB * .google.api.servicemanagement.v1.ManagedService service = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.servicemanagement.v1.ManagedService, - com.google.api.servicemanagement.v1.ManagedService.Builder, - com.google.api.servicemanagement.v1.ManagedServiceOrBuilder>( - getService(), getParentForChildren(), isClean()); + serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.servicemanagement.v1.ManagedService, com.google.api.servicemanagement.v1.ManagedService.Builder, com.google.api.servicemanagement.v1.ManagedServiceOrBuilder>( + getService(), + getParentForChildren(), + isClean()); service_ = null; } return serviceBuilder_; } - @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); } @@ -653,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.servicemanagement.v1.UndeleteServiceResponse) } // @@protoc_insertion_point(class_scope:google.api.servicemanagement.v1.UndeleteServiceResponse) private static final com.google.api.servicemanagement.v1.UndeleteServiceResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.servicemanagement.v1.UndeleteServiceResponse(); } @@ -667,27 +599,27 @@ public static com.google.api.servicemanagement.v1.UndeleteServiceResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeleteServiceResponse 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 UndeleteServiceResponse 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; @@ -702,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.servicemanagement.v1.UndeleteServiceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponseOrBuilder.java b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponseOrBuilder.java similarity index 59% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponseOrBuilder.java rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponseOrBuilder.java index 9c1ac0d0e501..409138cb6ece 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponseOrBuilder.java +++ b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/UndeleteServiceResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/servicemanagement/v1/servicemanager.proto package com.google.api.servicemanagement.v1; -public interface UndeleteServiceResponseOrBuilder - extends +public interface UndeleteServiceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.UndeleteServiceResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Revived service resource.
    * 
* * .google.api.servicemanagement.v1.ManagedService service = 1; - * * @return Whether the service field is set. */ boolean hasService(); /** - * - * *
    * Revived service resource.
    * 
* * .google.api.servicemanagement.v1.ManagedService service = 1; - * * @return The service. */ com.google.api.servicemanagement.v1.ManagedService getService(); /** - * - * *
    * Revived service resource.
    * 
diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/resources.proto b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/resources.proto similarity index 100% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/resources.proto rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/resources.proto diff --git a/java-service-management/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/servicemanager.proto b/owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/servicemanager.proto similarity index 100% rename from java-service-management/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/servicemanager.proto rename to owl-bot-staging/java-service-management/v1/proto-google-cloud-service-management-v1/src/main/proto/google/api/servicemanagement/v1/servicemanager.proto